语义释放错误

我在做什么:

npm run semantic-release 

其实是:

 semantic-release pre && npm publish && semantic-release post 

但它失败了,有一个错误,我不理解。

NPM-的debug.log:

 0 info it worked if it ends with ok 1 verbose cli [ '/home/arey/.nvm/versions/node/v7.0.0/bin/node', 1 verbose cli '/home/arey/.nvm/versions/node/v7.0.0/bin/npm', 1 verbose cli 'run', 1 verbose cli 'semantic-release' ] 2 info using npm@3.10.9 3 info using node@v7.0.0 4 verbose run-script [ 'presemantic-release', 4 verbose run-script 'semantic-release', 4 verbose run-script 'postsemantic-release' ] 5 info lifecycle arapi@0.0.0-semantically-released~presemantic-release: arapi@0.0.0-semantically-released 6 silly lifecycle arapi@0.0.0-semantically-released~presemantic-release: no script for presemantic-release, continuing 7 info lifecycle arapi@0.0.0-semantically-released~semantic-release: arapi@0.0.0-semantically-released 8 verbose lifecycle arapi@0.0.0-semantically-released~semantic-release: unsafe-perm in lifecycle true 9 verbose lifecycle arapi@0.0.0-semantically-released~semantic-release: PATH: /home/arey/.nvm/versions/node/v7.0.0/lib/node_modules/npm/bin/node-gyp-bin:/home/arey/source/arapi/node_modules/.bin:/home/arey/.nvm/versions/node/v7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 10 verbose lifecycle arapi@0.0.0-semantically-released~semantic-release: CWD: /home/arey/source/arapi 11 silly lifecycle arapi@0.0.0-semantically-released~semantic-release: Args: [ '-c', 11 silly lifecycle 'semantic-release pre && npm publish && semantic-release post' ] 12 silly lifecycle arapi@0.0.0-semantically-released~semantic-release: Returned: code: 1 signal: null 13 info lifecycle arapi@0.0.0-semantically-released~semantic-release: Failed to exec semantic-release script 14 verbose stack Error: arapi@0.0.0-semantically-released semantic-release: `semantic-release pre && npm publish && semantic-release post` 14 verbose stack Exit status 1 14 verbose stack at EventEmitter.<anonymous> (/home/arey/.nvm/versions/node/v7.0.0/lib/node_modules/npm/lib/utils/lifecycle.js:255:16) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at EventEmitter.emit (events.js:191:7) 14 verbose stack at ChildProcess.<anonymous> (/home/arey/.nvm/versions/node/v7.0.0/lib/node_modules/npm/lib/utils/spawn.js:40:14) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at ChildProcess.emit (events.js:191:7) 14 verbose stack at maybeClose (internal/child_process.js:877:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 15 verbose pkgid arapi@0.0.0-semantically-released 16 verbose cwd /home/arey/source/arapi 17 error Linux 4.4.0-47-generic 18 error argv "/home/arey/.nvm/versions/node/v7.0.0/bin/node" "/home/arey/.nvm/versions/node/v7.0.0/bin/npm" "run" "semantic-release" 19 error node v7.0.0 20 error npm v3.10.9 21 error code ELIFECYCLE 22 error arapi@0.0.0-semantically-released semantic-release: `semantic-release pre && npm publish && semantic-release post` 22 error Exit status 1 23 error Failed at the arapi@0.0.0-semantically-released semantic-release script 'semantic-release pre && npm publish && semantic-release post'. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the arapi package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error semantic-release pre && npm publish && semantic-release post 23 error You can get information on how to open an issue for this project with: 23 error npm bugs arapi 23 error Or if that isn't available, you can get their info via: 23 error npm owner ls arapi 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ] 

如果有人需要日志中的任何附加信息,只要问一下