@vue-cli peer dependency warn

1.8k Views Asked by At

I created project using vue-cli 3, cd into it, ran npm install and got this error:

npm WARN [email protected] requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.

I ran

npm install ajv

Which finished with success, but I'm still getting same warn on npm install

1

There are 1 best solutions below

1
On
npm install -g npm-install-peers

try this it will add all the missing peers and remove all the error