手动启动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 npm@6.4.13 info using node@v10.10.04 verbose run-script [ 'prebuild', 'build', 'postbuild' ]5 info lifecycle web-test@0.1.0~prebuild: web-test@0.1.06 info lifecycle web-test@0.1.0~build: web-test@0.1.07 verbose lifecycle web-test@0.1.0~build: unsafe-perm in lifecycle true8 verbose lifecycle web-test@0.1.0~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 web-test@0.1.0~build: CWD: /builds/web-front-end/test10 silly lifecycle web-test@0.1.0~build: Args: [ '-c', 'react-app-rewired build' ]11 silly lifecycle web-test@0.1.0~build: Returned: code: 1 signal: null12 info lifecycle web-test@0.1.0~build: Failed to exec build script13 verbose stack Error: web-test@0.1.0 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 web-test@0.1.015 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 回答
- 1 回答
- 0 关注
- 1884 浏览
添加回答
举报
0/150
提交
取消