gyp ERR! stack Error : can't find python executable "python",you can set the PYTHON e

2021/4/13 14:25:07

本文主要是介绍gyp ERR! stack Error : can't find python executable "python",you can set the PYTHON e,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

 

vue中安装node-sass
npm install node-sass --save-dev
1
出现上面图中问题

解决办法:
vscode里,打开终端,输入下面的内容
先输入(在管理员模式下打开)

npm install --global --production windows-build-tools
1
否则会提示:

Please restart thie script from a administrative PowerShell!
1
再输入

npm install --global node-gyp

原文链接:https://blog.csdn.net/caicsama/article/details/103679242



这篇关于gyp ERR! stack Error : can't find python executable "python",you can set the PYTHON e的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程