npm安装grunt卡住不动npm install卡住不动

使用命令
npm install -g grunt-cli --registry=https://registry.npm.taobao.org

npm install无法接受卡主不动
npm install --global smart-npm --registry=https://registry.npm.taobao.org

设置国内淘宝镜像
npm config set registry https://registry.npm.taobao.org
设置成功后再执行其他安装命令

你可能感兴趣的:(elasticsearch,npm)