β”œβ”€β”€ UNMET PEER DEPENDENCY generator-karma @> = 0.9.0

So basically I want to understand why, when I run npm install sass-loader node-sass --save-dev , I get this error

β”œβ”€β”€ UNMET PEER DEPENDENCY generator-karma @> = 0.9.0

However, it’s clear that Karma has been installed since I run npm install generator-karma , I see that:

 └─┬ generator-karma@2.0.0 <--- Which mean karma is there... └─┬ yeoman-generator@0.22.6 β”œβ”€β”€ async@1.5.2 ... 

I read the answer, explaining that I should use npm install -g grunt-cli bower yo generator-karma generator-angular , but that doesn't help much.

Should I remove and reinstall pure node_modules ?

+6
source share
1 answer

npm no longer installs module dependencies automatically. This means that you need to install the dependency modules yourself. Basically, if you run npm install generator-karma@ >=0.9.0 and then run the previous npm install command, you should be good to go.

+6
source

All Articles