npm config set registry "http://registry.npmjs.org"
npm config set registry "https://registry.npm.taobao.org"
最后还是cnpm好使
npm 安装:
https://github.com/nvm-sh/nvm
注意安装用bash
nvm install node
然后npm就有了
npm config set registry "http://registry.npmjs.org"
npm config set registry "https://registry.npm.taobao.org"
最后还是cnpm好使
npm 安装:
https://github.com/nvm-sh/nvm
注意安装用bash
nvm install node
然后npm就有了