版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hua_ban_yu/article/details/83147692
在使用npm安装webpack时报 npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself. 错误。
报错原因:peer库ajv@^6.0.0
解决方案:
方案1:
手动安装ajv@^6.0.0
npm insatll ajv@^6.0.0
方案2:
手动更新ajv
npm i ajv