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

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

时间:2022-08-18 15:38:47浏览次数:70  
标签:generator jar failed allure 报错 Execution

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

 

标签:generator,jar,failed,allure,报错,Execution
From: https://www.cnblogs.com/xr-0608/p/16598845.html

相关文章