[Node]报错:gyp verb check python checking for Python executable "python2" in the PATH

转自:https://www.cnblogs.com/Wilson6/p/12055389.html

gyp verb check python checking for Python executable "python2" in the PATH

 

缺少python2.7支持 可快速使用以下语句完成安装

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

到时候会自动下载python的

如果timeout报错 请检查代理设置,按如下设置下吧

nmp config set proxy http://1.1.1.1

nmp config set https-proxy http://1.1.1.1

 

npm install的时候遇到这个问题,方法亲测有效。

posted @ 2021-09-04 15:50  琳蕊奕  阅读(1935)  评论(0编辑  收藏  举报