Closed DeliaDing123 closed 5 years ago
Give it additional java command line options
-Xmx256m -XX:MaxPermSize=512m or configure system variable
MAVEN_OPTS=-Xmx256m -XX:MaxPermSize=512m
refrence link: https://stackoverflow.com/questions/36218635/maven-fails-with-error-process-exited-with-code-137
描述您遇到的bug 编译wecube-platform出错。 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm run build) on project wecube-portal: Failed to run task: 'npm run build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 137 (Exit value: 137) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :wecube-portal
Makefile:15: recipe for target 'build' failed
make: *** [build] Error 1
如何重现
预期行为
截图
附加