UNMET PEER DEPENDENCY @angular/core@4.2.3
See original GitHub issueOn installing angular2-notifications via npm to angular 4.2.3 we have:
+-- UNMET PEER DEPENDENCY @angular/core@4.2.3
+-- UNMET PEER DEPENDENCY @angular/router@4.2.3
Current Behavior
after npm install angular2-notifications
I see:
+-- UNMET PEER DEPENDENCY @angular/core@4.2.3
+-- UNMET PEER DEPENDENCY @angular/router@4.2.3
`-- angular2-notifications@0.7.4
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @angular/animations@4.2.5 requires a peer of @angular/core@4.2.5 but none was installed.
npm WARN ngx-modal@0.0.29 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN ngx-modal@0.0.29 requires a peer of @angular/router@^3.0.0 but none was installed.
Steps to Reproduce (for bugs)
run npm install angular2-notifications
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How do I fix the npm UNMET PEER DEPENDENCY ...
UNMET PEER DEPENDENCY error is thrown when the dependencies of one or more modules specified in the package.json file is not met.
Read more >compiler-cli 5.2.3 - wrong unmet peer dependency for ...
I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [...
Read more >Error npm UNMET PEER DEPENDENCY warning
I'm on Windows 10, with Node 5.6.0 and npm 3.6.0. I'm trying to install angular-material and mdi into my working folder. npm install ......
Read more >incorrect peer dependency and has unmet ...
[3/4] Linking dependencies... warning " > abp-ng2-module@6.4.0" has incorrect peer dependency "@angular/common@^12.2.8". warning ...
Read more >Fighting unmet peer dependencies - [SOLVED] - Ionic Forum
I'm fighting an unmet dependency concerning zone.js, here's the error when I run npm install. └── UNMET PEER DEPENDENCY zone.js@0.7.6.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When is the plan to upgrade it to 4.2.3 ?
Still getting this: ├── UNMET PEER DEPENDENCY @angular/compiler@5.0.0 ├── UNMET PEER DEPENDENCY @angular/core@5.0.0
commands like: npm install @angular/compiler-cli@5.0.0 does not solve the problem.
Edit: if found a solution on stackoverflow
UNMET PEER DEPENDENCY error is thrown when the dependencies of one or more modules specified in the package.json file is not met. Check the warnings carefully and update the package.json file with correct versions of dependencies.
Then run
rm -rf node_modules/ npm cache clean npm install
This will install all the required dependencies correctly.