angular cli project unmet peer dependency

I'm unable to to install dependency using npm install in angular-cli project, I always get error:

├── UNMET PEER DEPENDENCY @angular/compiler-cli@2.2.4
├── UNMET PEER DEPENDENCY @angular/core@2.2.4
└── underscore@1.8.3

For any dependency es. 'underscore' I need to remove node_modules folder install dependency and run npm install in order to re-download and re-install all modules required from project.

Why?

0
3 comments
Avatar
Permanently deleted user

Hello,

This does not seem to be related with PhpStorm.

Did you search for the solution online? Output varies from missing dependencies to bugs in some Angular versions.

0
Avatar
Permanently deleted user

It's just a warning, the strange thing is that depends on node_modules folder content, indeed deleting node_modules the warning disappear until I run 'npm install'. and then install new dependency. I don't know if it depends on angular-cli or the way phpstorm manage angular-cli project creation, 

0

we might need to look at your project files, composer.json, package.json, etc: you can submit the same in details at http://youtrack.jetbrains.com/issues/WEB

0

Please sign in to leave a comment.