我试着在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上运行的。
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。
看着迷走片,有
# 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任务在哪里吗?
问候
发布于 2018-05-15 06:25:19
在https://github.com/apache/incubator-openwhisk/issues/3649引起的缺陷。
固定在https://github.com/apache/incubator-openwhisk/pull/3651。
更新git,再次运行hello,它就能工作了。恭喜开瓶器队的反应如此之快。
https://stackoverflow.com/questions/50325982
复制相似问题