Bootstrap

vue项目中NPM安装包问题

1、NPM 版本和Node.js版本匹配,确认包和版本问题

2、一般情况降低版本,重新安装npm后

a.查看当前镜像设置

npm config list

b.清空缓存

npm cache clean --force

c.镜像源(https://registry.npm.taobao.org)已经用不了,需要切换到 ( https://registry.npmmirror.com

npm config set registry https://registry.npmmirror.com

一般情况下都可以正常使用了

;