【发布时间】:2015-04-20 07:12:51
【问题描述】:
我在我的本地实验室计算机中分叉并克隆了 spring.io/sagan 项目。
但是我在构建项目时遇到了一些问题,我找不到如何解决问题的答案。
我正在使用以下软件运行 Mac OS X Yosemite:
- gradle -v 2.3
- 节点-v 0.12.2
npm -v 2.7.4
出了什么问题:
Execution failed for task ':sagan-client:npmBuild'.
Process 'command 'npm'' finished with non-zero exit value 1
ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! sagan@ build:gulp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sagan@ build script 'gulp build'.
npm ERR! This is most likely a problem with the sagan package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build
npm ERR! You can get their info via:
npm ERR! npm owner ls sagan
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/youngbinjang/git/sagan/sagan-client/npm-debug.log
:sagan-client:npmBuild FAILED
:sagan-client:npmBuild (Thread[main,5,main]) completed. Took 1.907 secs.
FAILURE: Build failed with an exception.
- 出了什么问题:
任务 ':sagan-client:npmBuild' 执行失败。
进程 'command 'npm'' 以非零退出值 1 结束
【问题讨论】:
-
您使用的是节点 v0.12 吗?如此开放 github 问题 github.com/spring-io/sagan/issues/506 所述,此版本的构建失败
标签: spring