此问题并非权限问题!
执行如下3条命令解决:
1.清理npm缓存
npm cache clean --force
2.升级npm版本
npm install -g npm@latest --force
3.再次清理npm缓存
npm cache clean --force
然后再次运行npm install 即可。
此问题并非权限问题!
执行如下3条命令解决:
1.清理npm缓存
npm cache clean --force
2.升级npm版本
npm install -g npm@latest --force
3.再次清理npm缓存
npm cache clean --force
然后再次运行npm install 即可。
转载于:https://www.cnblogs.com/yzeng/p/8417435.html