Undefined peer dependency error

npm WARN @ schematics / angular @ 0.0.49 requires the @angular -devkit/schematics@0.0.34 peer, but none of them are installed. You must install the peer dependencies yourself.

I previously installed angular cli using npm install -g @ angular / cli, after which I uninstalled and installed npm install -g @ angular / cli @latest. Now many earlier packages are incompatible, so I uninstalled and installed angular cli again using the npm install -g @ angular / cli @ 1.4.0 command. Now, when I tried to download various packages, I can not. I tried to boot boot using npm install bootstrap --save, the following warning appears: npm WARN @ schematics / angular @ 0.0.49 requires a peer-to-peer connection @angular -devkit/schematics@0.0.34, but none of them are installed. You must install peer dependencies.

Please help me how can I start a new one and have all the packages intact.

+8
angular
source share
1 answer

I had this problem, you need to install it through NPM. Not sure why it is not installed automatically.

npm install @angular-devkit/schematics@0.0.34 --save

+7
source share

All Articles