安装node-sass报错的话按照顺序执行这几个命令
先清除一下npm缓存 npm cache clean --force
npm install -g node-gyp npm install --global --production windows-build-tools 如果报错加个版本号 npm install --global --production windows-build-tools@4.0.0 npm install --python=python2.7 npm config set python python2.7 最后 npm install 试一下吧应该就可以解决了 以上命令使用管理员权限运行



