使用nvm的,需要修改settings.txt文件
node_mirror: https://npmmirror.com/mirrors/node/
npm_mirror: https://npmmirror.com/mirrors/npm/
npm config set registry https://registry.npmmirror.com
yarn config set registry https://registry.npmmirror.com
使用nvm的,需要修改settings.txt文件
node_mirror: https://npmmirror.com/mirrors/node/
npm_mirror: https://npmmirror.com/mirrors/npm/
npm config set registry https://registry.npmmirror.com
yarn config set registry https://registry.npmmirror.com