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

[复制链接]
发表于 2024-6-12 13:55:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
报错如下:

> 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
复制代码

回复

使用道具 举报

登录后关闭弹窗

登录参与点评抽奖  加入IT实名职场社区
去登录
快速回复 返回顶部 返回列表