getting UNMET PEER DEPENDENCY @angular/router@3.0.0-beta.1
Closed this issue · 1 comments
subatomicglue commented
i created this project with npm couple weeks ago.
it seems the install with npm fails:
> npm install ng2-simple-page-scroll --save
rbook@1.0.0 /Users/kevin/src/rbook
+-- UNMET PEER DEPENDENCY @angular/router@3.0.0-beta.1
+-- ng2-simple-page-scroll@1.0.2
`-- x2js@2.0.1
npm WARN ng2-simple-page-scroll@1.0.2 requires a peer of @angular/router@~2.0.0-rc.1 but none was installed.
npm WARN rbook@1.0.0 No repository field.
I have deprecated router: router@~2.0.0-rc.2, and the router router@3.0.0-beta.1 both installed.
subatomicglue commented
Turns out that this is also now blocking the installation of other new npm modules (ng2-disqus for example), with the same UNMET PEER DEPENDENCY @angular/router@3.0.0-beta.1.
To fix i simply did a
npm uninstall ng2-simple-page-scroll