使用npm rebuild node-sass --save-dev 时出现gyp ERR stack Error Can't find Python executable python错误
解决方法:
1.使用管理员身份打开命令行窗口
2.在cmd中输入
npm install --global --production windows-build-tools
3.
npm install --global node-gyp
使用npm rebuild node-sass --save-dev 时出现gyp ERR stack Error Can't find Python executable python错误
解决方法:
1.使用管理员身份打开命令行窗口
2.在cmd中输入
npm install --global --production windows-build-tools
3.
npm install --global node-gyp