[alibaba/arthas][Question]mvn打包时arthas-site构建失败

2025-11-12 322 views
4
环境信息 Arthas 版本: 源码master分支 操作系统版本: win7,32位 JVM版本: jdk8 重现问题的步骤 源码根目录执行mvn -DskipTests --fail-at-end clean package 期望的结果

打包成功

实际运行的结果

打包失败:构建失败的模块中包含arthas-site

[INFO] --- frontend-maven-plugin:1.12.1:yarn (set registry) @ arthas-site ---
[INFO] Running 'yarn config set registry https://registry.npmmirror.com/' in E:\IdeaProjects\arthas\site
……
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:yarn (set registry) on project arthas-site: Failed to run task: 'yarn config set registry https://registry.npmmirror.com/' failed. org.apache.commons.ex
ec.ExecuteException: Process exited with an error: -1073741511 (Exit value: -1073741511) -> [Help 2]
疑问

怎么解决该问题?另外,构建该模块之前构建web-ui模块的时候也有类似的操作,能成功执行(日志如下),尝试多次都是如此,不知为何?

[INFO] --- frontend-maven-plugin:1.12.1:yarn (set registry) @ web-ui ---
[INFO] Running 'yarn config set registry https://registry.npmmirror.com/' in E:\IdeaProjects\arthas\web-ui\arthasWebConsole
[INFO] yarn config v1.22.19
[INFO] warning package.json: No license field
[INFO] success Set "registry" to "https://registry.npmmirror.com/".
[INFO] Done in 0.18s.

回答

5

能否重新open?还是想有大神帮忙解决一下。感谢。

4

github action 包含linux/win/mac环境都是正常的。另外,arthas-site失败不影响其它功能。

0

好吧,我也不纠结这个模块的构建了。但是这个模块构建失败会导致arthas-packaging、arthas-spring-boot-starter构建失败,有没有什么办法和这俩模块解耦?