npm安装出错以及解决

前端依赖于node环境,因此需要npm。

问题1:安装axios库时,遇到这样问题:

解决1:

npm audit fix

npm audit fix --force

问题2

 解决2:是安装文件冲突导致,在安装文件后面加上--legacy-peer-deps即可

猜你喜欢

转载自blog.csdn.net/qq_40521068/article/details/126287002
今日推荐