前端依赖于node环境,因此需要npm。
问题1:安装axios库时,遇到这样问题:
解决1:
npm audit fix
npm audit fix --force
问题2
解决2:是安装文件冲突导致,在安装文件后面加上--legacy-peer-deps即可
前端依赖于node环境,因此需要npm。
问题1:安装axios库时,遇到这样问题:
解决1:
npm audit fix
npm audit fix --force
问题2
解决2:是安装文件冲突导致,在安装文件后面加上--legacy-peer-deps即可