新代码npm install的时候报错:
解决方法:将npm设置为淘宝镜像就可以!
1、查看npm镜像设置
npm config get registry
2、将npm设置为淘宝镜像
npm config set registry https://registry.npm.taobao.org
3、再次查看npm镜像设置
npm config get registry
新代码npm install的时候报错:
解决方法:将npm设置为淘宝镜像就可以!
1、查看npm镜像设置
npm config get registry
2、将npm设置为淘宝镜像
npm config set registry https://registry.npm.taobao.org
3、再次查看npm镜像设置
npm config get registry