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
The current fe-angular quickstarter fails installing the dependencies on machines with current versions of nodejs (nodeJS 16.4 with npm 8.1.0 and maybe also lower) while it is running successfully on a nodeJS 10 based build agent in Jenkins (ods/jenkins-agent-nodejs10-angular:3.x).
Steps to reproduce the behavior:
provision an fe-angular quickstarter
clone the new repository locally
run npm install locally by using an up-to-date nodejs version
It shows an errors like this:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/jasmine-core
npm ERR! dev jasmine-core@"~3.4.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer jasmine-core@">=3.8" from [email protected]
npm ERR! node_modules/karma-jasmine-html-reporter
npm ERR! dev karma-jasmine-html-reporter@"^1.4.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
...
Affected Versions
It was found in 3.x but might also affect 4.x since it uses packages with the same versions.
Solution
The problem can be fixed by updating the dependencies for jasmine-core to "~3.8.0". After this a new issue will arise:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @babel/highlight@^7.16.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
...
This again can be resolved by updating the dependencies for karma-coverage-istanbul-reporter to "~3.0.0".
The text was updated successfully, but these errors were encountered:
This issue has been fixed for 3.x already (#663). For 4.x and master this issue will rather be fixed with an update of Angular. About the Angular update see also #765
The current fe-angular quickstarter fails installing the dependencies on machines with current versions of nodejs (nodeJS 16.4 with npm 8.1.0 and maybe also lower) while it is running successfully on a nodeJS 10 based build agent in Jenkins (
ods/jenkins-agent-nodejs10-angular:3.x
).Steps to reproduce the behavior:
npm install
locally by using an up-to-date nodejs versionIt shows an errors like this:
Affected Versions
It was found in
3.x
but might also affect4.x
since it uses packages with the same versions.Solution
The problem can be fixed by updating the dependencies for
jasmine-core
to"~3.8.0"
. After this a new issue will arise:This again can be resolved by updating the dependencies for
karma-coverage-istanbul-reporter
to"~3.0.0"
.The text was updated successfully, but these errors were encountered: