1、安装卡顿,切换为淘宝的npm国内镜像
npm config set registry https://registry.npm.taobao.org
检查:
npm config get registry
2、npm 更新到最新版本
npm install npm@latest -g
3、har-validator@5.1.2 Not found问题
删除package-lock.json文件,重新使用npm i即可
1、安装卡顿,切换为淘宝的npm国内镜像
npm config set registry https://registry.npm.taobao.org
检查:
npm config get registry
2、npm 更新到最新版本
npm install npm@latest -g
3、har-validator@5.1.2 Not found问题
删除package-lock.json文件,重新使用npm i即可
本文标题:npm安装依赖常见问题集锦
本文链接:https://www.haomeiwen.com/subject/dhpvjqtx.html
网友评论