Openwhisk摆设报错:Execute failed: java.io.IOException: Cannot run pro ...

打印 上一主题 下一主题

主题 662|帖子 662|积分 1986

报错如下:

> 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企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

正序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

没腿的鸟

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表