0%

npm install 报错 can't find python

npm install 时报错 gyp ERR! stack Error : can’t find python executable “python”,you can set the PYTHON env variable.解决办法

1.vue中安装node-sass

1
npm install node-sass --save-dev

2.管理员模式下

1
npm install --global --production windows-build-tools

3.再执行

1
npm install --global node-gyp 
-------------本文结束感谢您的阅读-------------