ToB企服应用市场:ToB评测及商务社交产业平台

标题: Openwhisk摆设报错:Execute failed: java.io.IOException: Cannot run pro [打印本页]

作者: 没腿的鸟    时间: 2024-6-12 13:55
标题: Openwhisk摆设报错:Execute failed: java.io.IOException: Cannot run pro
报错如下:

> Task :core:scheduler:distDocker
Sun Apr 02 19:18:23 PDT 2023: Executing 'docker build -f /home/a123/openwhisk/core/scheduler/Dockerfile -t scheduler /home/a123/openwhisk/core/scheduler'
Building 'scheduler' took 0.640 seconds
> Task :core:scheduler:tagImage
Sun Apr 02 19:18:24 PDT 2023: Executing 'docker tag scheduler whisk/scheduler:latest'
> Task :core:standalone:copyGWActions FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/home/a123/openwhisk/core/standalone/build.gradle' line: 69
* What went wrong:
Execution failed for task ':core:standalone:copyGWActions'.
> Execute failed: java.io.IOException: Cannot run program "npm" (in directory "/home/a123/openwhisk/core/routemgmt/createApi"): error=2, No such file or directory
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s
 
办理方法

这个是缺少npm了,直接安装即可
  1. apt install npm
复制代码


免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4