报错:

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

相关文章:

  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2022-02-13
  • 2022-02-22
猜你喜欢
  • 2022-12-23
  • 2023-01-24
  • 2022-12-23
  • 2022-01-15
  • 2021-06-15
  • 2022-02-20
  • 2021-06-21
相关资源
相似解决方案