手動啟動dockernode:10.15.3 將項目目錄映射,可以正常打包使用gitlab-runner 竟然失敗,返回碼為1build: image: node:10.15.3 stage: build日志內容0 info it worked if it ends with ok1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]2 info using [email protected] info using [email protected] verbose run-script [ 'prebuild', 'build', 'postbuild' ]5 info lifecycle [email protected]~prebuild: [email protected] info lifecycle [email protected]~build: [email protected] verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true8 verbose lifecycle [email protected]~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/builds/web-front-end/test/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin9 verbose lifecycle [email protected]~build: CWD: /builds/web-front-end/test10 silly lifecycle [email protected]~build: Args: [ '-c', 'react-app-rewired build' ]11 silly lifecycle [email protected]~build: Returned: code: 1 signal: null12 info lifecycle [email protected]~build: Failed to exec build script13 verbose stack Error: [email protected] build: `react-app-rewired build`13 verbose stack Exit status 113 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)13 verbose stack at EventEmitter.emit (events.js:182:13)13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)13 verbose stack at ChildProcess.emit (events.js:182:13)13 verbose stack at maybeClose (internal/child_process.js:962:16)13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)14 verbose pkgid [email protected] verbose cwd /builds/web-front-end/test16 verbose Linux 3.10.0-693.2.2.el7.x86_6417 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"18 verbose node v10.10.019 verbose npm v6.4.1
- 1 回答
- 0 關注
- 1917 瀏覽
添加回答
舉報
0/150
提交
取消