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
Describe the bug
When trying to upgrade angular from 8 to 9 following angular upgrade guide (uses ng cli) :
Package "angular-user-idle" has an incompatible peer dependency to "@angular/common" (requires "^6.0.0 || ^12.0.0" (extended), would install "9.1.13")
To Reproduce
Steps to reproduce the behavior:
Create an angular 8 projet, add the lib as dependency
Ugrade to angular 9 : ng update @angular/core@9 @angular/cli@9 --force
Fails with npm error
Expected behavior
Upgrade should perform without the dependency error
Additional context
Using node 12.
Idea
The dependency semver is "^6.0.0 || ^12.0.0" (major v6 or major v12). Should not it be something more like >=^6.0.0 && <= ^12.0.0 (between major 6 and major 12 included) ?
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to upgrade angular from 8 to 9 following angular upgrade guide (uses ng cli) :
To Reproduce
Steps to reproduce the behavior:
ng update @angular/core@9 @angular/cli@9 --force
Expected behavior
Upgrade should perform without the dependency error
Additional context
Using node 12.
Idea
The dependency semver is
"^6.0.0 || ^12.0.0"
(major v6 or major v12). Should not it be something more like>=^6.0.0 && <= ^12.0.0
(between major 6 and major 12 included) ?The text was updated successfully, but these errors were encountered: