You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: src/main/webapp/app/admin/health/health.component.html:32:22 - error TS2339: Property 'OUT_OF_SERVICE' does not exist on type '{ UNKNOWN: string; UP: string; DOWN: string; }'.
src/main/webapp/app/admin/health/health.component.ts:13:16
13 templateUrl: './health.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component HealthComponent.
Overview of the issue
I'm generating a simple app and at npm start, I'm getting the following error:
`
Build at: 2023-12-22T08:28:35.868Z - Hash: 8f4158395ed950e0 - Time: 19468ms
Error: src/main/webapp/app/admin/health/health.component.html:32:22 - error TS2339: Property 'OUT_OF_SERVICE' does not exist on type '{ UNKNOWN: string; UP: string; DOWN: string; }'.
32 {{ { UNKNOWN: 'INCONNU', UP: 'DISPONIBLE', DOWN: 'HORS SERVICE' }[componentHealth.value!.status || 'UNKNOWN'] }}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main/webapp/app/admin/health/health.component.ts:13:16
13 templateUrl: './health.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component HealthComponent.
`
Reproduce the error
Just generate the attached app
JHipster Version(s)
8.1.0
JHipster configuration
JDL definitions
Browsers and Operating System
On french Windows with JDK17
The text was updated successfully, but these errors were encountered: