解决办法:
用管理员身份运行cmd,并输入:
1、
npm install -g mirror-config-china --registry=http://registry.npm.taobao.org
2、
npm install node-sass
如何用管理员身份运行cmd:
运行效果:
错误信息:
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (D:\eclipse-workspace\henenghome\material-center-vue-test\node_modules\which\w