You most likely found this topic as you are stuck with installing openEMS UIβ¦
The manual specifies installing angular by npm install -g @angular/cli However this installs automatically Angular 16. Currently this is not supported (see pull request 2183)
The angular version you should use is 15.1.2 the install command is thus
npm install -g @angular/cli@15.1.2
Hopefully i saved you a couple of hours figuring this out. However, if you read this in the future, please check if angular X is then supported, before doing the latest install.
but I have the problem like below info,could you please have some solution to help me? npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: ng2-charts@4.1.1
npm error Found: @angular/core@16.2.12
npm error node_modules/@angular/core
npm error @angular/core@β~16.2.12β from the root project
npm error peer @angular/core@β16.2.12β from @angular/animations@16.2.12
npm error node_modules/@angular/animations
npm error @angular/animations@β~16.2.12β from the root project
npm error peerOptional @angular/animations@β16.2.12β from @angular/platform-browser@16.2.12
npm error node_modules/@angular/platform-browser
npm error @angular/platform-browser@β~16.2.12β from the root project
npm error 3 more (@angular/forms, @angular/platform-browser-dynamic, @angular/router)
npm error 1 more (ngx-spinner)
npm error 13 more (@angular/common, @angular/compiler, @angular/forms, β¦)
npm error
npm error Could not resolve dependency:
npm error peer @angular/cdk@β>=14.0.0β from ng2-charts@4.1.1
npm error node_modules/ng2-charts
npm error ng2-charts@β^4.1.1β from the root project
npm error
npm error Conflicting peer dependency: @angular/core@18.0.3
npm error node_modules/@angular/core
npm error peer @angular/core@β^18.0.0 || ^19.0.0β from @angular/cdk@18.0.3
npm error node_modules/@angular/cdk
npm error peer @angular/cdk@β>=14.0.0β from ng2-charts@4.1.1
npm error node_modules/ng2-charts
npm error ng2-charts@β^4.1.1β from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/lijing/.npm/_logs/2024-06-13T08_19_54_737Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/lijing/.npm/_logs/2024-06-13T08_19_54_737Z-debug-0.log