Closed FabienCOTE closed 3 years ago
Thanks for the report! This issue is due to the fact that Angular 10 (mostly the packages around it) doesn't support NPM 7.
You'll need to use NPM 6 until all the Angular ecosystem properly supports the new version (ie all peer dependencies are properly set).
I'm currently making some tests with the newer Angular 12 version, meanwhile the best workaround would probably be to force the --legacy-peer-deps
flag in the Yeoman npm install step if NPM 7 is detected.
:tada: This issue has been resolved in version 10.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I'm submitting a...
Current behavior
npm init ngx doesn't succeed to build a new project.
Expected behavior
That it would succeed on first try.
The fix seems to be that @angular/common needs to be 10.0.0 instead of 11.2.14 as seen in error message below. Remove "@ng-bootstrap/ng-bootstrap": "^8.0.0" to launch "npm i"
Minimal reproduction of the problem with instructions
Generating a new project with
Environment
Others: