江湖路
专注AJAX和Moss

报错:

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

 

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

 

解决办法:
主要是windows平台缺少编译环境,
1、先运行: npm install -g node-gyp
2、然后运行:运行 npm install --global --production windows-build-tools 可以自动安装跨平台的编译器:gym

 

 

参考:

https://blog.csdn.net/ty_0930/article/details/70184392

posted on 2020-02-13 13:58  wengnet  阅读(4989)  评论(0编辑  收藏  举报