解决问题了

来源:互联网 发布:foxit reader linux 编辑:程序博客网 时间:2024/05/17 23:38

1、执行:

npm config get proxynpm config get https-proxy
如果返回值不为null,继续执行:

npm config set proxy nullnpm config set https-proxy null
2、执行:

npm config set registry http://registry.cnpmjs.org/