在git上拉取了一个项目,npm install的时候,出现下面无法访问的错误。
下面我的解决方法是:
把 npm install改成:
npm install --registry=https://registry.npm.taobao.org
从淘宝镜像下载就可以成功了。
在git上拉取了一个项目,npm install的时候,出现下面无法访问的错误。
下面我的解决方法是:
把 npm install改成:
npm install --registry=https://registry.npm.taobao.org
从淘宝镜像下载就可以成功了。