背景
在构建Vue3项目时,执行npm install命令时卡住不动
解决方案
1.删除c:/user/<你的机器名> 下的.npmrc文件
2.打开CMD,执行npm cache verify
3.等待执行结束,在执行npm config set registry https://registry.npmmirror.com
进行换源操作
背景
在构建Vue3项目时,执行npm install命令时卡住不动
解决方案
1.删除c:/user/<你的机器名> 下的.npmrc文件
2.打开CMD,执行npm cache verify
3.等待执行结束,在执行npm config set registry https://registry.npmmirror.com
进行换源操作