my project is configured with github
branch submission triggers jenkins
task, which was executed before, but today suddenly reported the following error:
0 info it worked if it ends with ok
1 verbose cli [ "/usr/local/bin/node", "/usr/local/bin/npm", "run", "test" ]
2 info using npm@5.6.0
3 info using node@v9.6.1
4 verbose run-script [ "pretest", "test", "posttest" ]
5 info lifecycle poppy-admin@0.0.1~pretest: poppy-admin@0.0.1
6 info lifecycle poppy-admin@0.0.1~test: poppy-admin@0.0.1
7 verbose lifecycle poppy-admin@0.0.1~test: unsafe-perm in lifecycle true
8 verbose lifecycle poppy-admin@0.0.1~test: PATH: /usr/local/lib/node_modules/.npm_npminstall/node_modules/.5.6.0@npm/node_modules/npm-lifecycle/node-gyp-bin:/app/test_poppy/admin/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
9 verbose lifecycle poppy-admin@0.0.1~test: CWD: /app/test_poppy/admin
10 silly lifecycle poppy-admin@0.0.1~test: Args: [ "-c", "cross-env NODE_ENV=test node build/build-wrapper.js" ]
11 silly lifecycle poppy-admin@0.0.1~test: Returned: code: 1 signal: null
12 info lifecycle poppy-admin@0.0.1~test: Failed to exec test script
13 verbose stack Error: poppy-admin@0.0.1 test: `cross-env NODE_ENV=test node build/build-wrapper.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/.npm_npminstall/node_modules/.5.6.0@npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack at EventEmitter.emit (events.js:127:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/.npm_npminstall/node_modules/.5.6.0@npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:127:13)
13 verbose stack at maybeClose (internal/child_process.js:933:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
14 verbose pkgid poppy-admin@0.0.1
15 verbose cwd /app/test_poppy/admin
16 verbose Linux 3.10.0-327.28.2.el7.x86_64
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test"
18 verbose node v9.6.1
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error poppy-admin@0.0.1 test: `cross-env NODE_ENV=test node build/build-wrapper.js`
22 error Exit status 1
23 error Failed at the poppy-admin@0.0.1 test script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I can"t see the reason from this message. jenkins
hung up after reporting an error. The project is a front-end project based on Vue
. If you need me to provide any more information, please leave a message, thank you!