npm 设置为淘宝的源
得到原本的镜像地址
$npm get registry
> https://registry.npmjs.org/
#设成淘宝的
$ npm config set registry http://registry.npm.taobao.org/
换成原来的
$ npm config set registry https://registry.npmjs.org/
npm 设置为淘宝的源
$npm get registry
> https://registry.npmjs.org/
#设成淘宝的
$ npm config set registry http://registry.npm.taobao.org/
$ npm config set registry https://registry.npmjs.org/
本文标题:NodeJS windows环境配置
本文链接:https://www.haomeiwen.com/subject/nbqiiftx.html
网友评论