npm ERR 解决方法:
提示没有安装所需环境:python,VCBulider
npm install -g --python=python2.7
提示没有安装所需环境:window-worklode
npm install - --production windows-build-tools
如果以上问题仍然存在,请卸载node.js安装node.js稳定版(设置前请配置好淘宝源)
npm config set registry https://registry.npm.taobao.org
提示缺少文件或者资源被占用
npm uninstall node-sass
npm install node-sass
卡顿解决方法
如果仍然卡顿在typeScript,请将 源 换成 cnpmjs镜像
npm config set registry http://r.cnpmjs.org/