首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Openwhisk在前提下安装错误

Openwhisk在前提下安装错误
EN

Stack Overflow用户
提问于 2018-05-14 08:27:48
回答 1查看 156关注 0票数 0

我试着在windows 10机器上安装一个openwhisk。克隆了git,cd会被打开/工具/流浪汉然后运行。/hello。

很多,很多分钟后,我得到了以下错误。

==> default::index ==> default::goPrepare ==> default: FAILURE ==> default: FAILURE:==> default: Build,但有异常。==>默认值:==>默认值:*出了什么问题:==>默认:任务执行失败“:goPrepare”。默认设置:>在/home/vagrant/openwhisk/bin/openwhisk-cli/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli中创建符号链接 失败

虽然我可以在build.gradle中找到索引任务,但在openwhisk或父目录下找不到goPrepare任务。

我假设这个命令是在新创建的VM上运行的。

代码语言:javascript
复制
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

但是运行流浪汉ssh确实会让我登录到VM。

看着迷走片,有

代码语言:javascript
复制
  # Clone and Build CLI
    echo "`date`: build-cli-start" >> /tmp/vagrant-times.txt
    cd ${OPENWHISK_HOME}/bin
    rm -rf openwhisk-cli
    su vagrant -c 'git clone --depth=1 https://github.com/apache/incubator-openwhisk-cli.git openwhisk-cli'
    cd openwhisk-cli
    su vagrant -c './gradlew releaseBinaries'
    echo "`date`: build-cli-end" >> /tmp/vagrant-times.txt

/tmp中的日志显示了,而不是build end。

releaseBinaries任务在build.gradle中,但没有链接。

还有其他人遇到过这个错误吗?有人知道goPrepare任务在哪里吗?

问候

EN

回答 1

Stack Overflow用户

发布于 2018-05-15 06:25:19

https://github.com/apache/incubator-openwhisk/issues/3649引起的缺陷。

固定在https://github.com/apache/incubator-openwhisk/pull/3651

更新git,再次运行hello,它就能工作了。恭喜开瓶器队的反应如此之快。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50325982

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档