报错:
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
原文地址:https://www.cnblogs.com/wengnet/p/12303408.html
时间: 2024-11-10 06:40:36