其他分享
首页 > 其他分享> > 使用gradle生成jar报错:Execution failed for task ':allure-generator:npmInstall',如何解决?

使用gradle生成jar报错:Execution failed for task ':allure-generator:npmInstall',如何解决?

作者:互联网

1.错误信息

gyp ERR! stack Error: Can't find Python executable "python2.7", you can set the PYTHON env variable.

2.解决办法

在window系统中配置环境变量

变量名:SASS_BINARY_SITE
变量值:https://npm.taobao.org/mirrors/node-sass/ 

 

 

 

 

 

 

参考链接:https://blog.csdn.net/qq_41837249/article/details/121649775

 

标签:node,set,ERR,mirrors,allure,报错,https,Execution
来源: https://www.cnblogs.com/xr-0608/p/16598845.html