1、遇到A complete log of this run can be found in:
解决:1、npm install npm -g;
2、npm install --save node-sass --registry=ry=[https://registry.npm.taobao.org](https://registry.npm.taobao.org) --d --disturl=rl=[https://npm.taobao.org/dist](https://npm.taobao.org/dist) --s --sass-binary-site=te=[http://npm.taobao.org/mirrors/node-sass](http://npm.taobao.org/mirrors/node-sass)
3、cnpm install node-sass@latest
2、重新安装node-sass
npm uninstall node-sass -D
npm install node-sass -D
3、遇到这种code ECONNRESET
npm ERR! network tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:1080
If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
1、npm config set proxy null
2、nom install
网友评论