标题: 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