[email protected] requires a peer of ajv@^6.0.0 but none was installed.

[email protected] requires a peer of ajv@^6.0.0 but none was installed.

更新的最新的包  总是提示这个问题 

解决办法:执行npm i ajv     手动更新ajv

                 在更新要更新的包


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


解决办法:

npm install -g 

npm install webpack 就不会报错


猜你喜欢

转载自blog.csdn.net/lyn1772671980/article/details/80486458