解决node-pre-gyp install --fallback-to-build 卡住不动

一般是因为需要下载国外的包,要么连VPN,要么使用淘宝的镜像:

 

使用cnpm:

npm install -g cnpm --registry=https://registry.npm.taobao.org

然后用下面命令安装package.json:

cnpm install

posted on 2018-07-19 13:35  willaty  阅读(7130)  评论(0编辑  收藏  举报

导航