版本号: Stable v1.02.2003250
1.304001258781687'HTTPError'255255
npm ERR!
npm ERR! This is probably not a prob.l --desc 初始化版本
错误:
✖ upload project
[error] { HTTPError: Response code em (Bad Request)
at EventEmitter.f.on (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/common/cli/index.js:w:ith np)
at process._tickCallback (internal/process/next_tick.js:m.: ) name: There is li }
npm ERR! code ELIFECYCLE
npm ERR! errno kel
npm ERR! Exit status y additional logging output above
完整错误日志:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/9.11.1/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'upload:mina',
1 verbose cli '--env=xxx',
1 verbose cli '--apiType=xx',
1 verbose cli '1.3.0',
1 verbose cli '初始化版本' ]
2 info using npm@6.9.0
3 info using node@v10.16.0
4 verbose run-script [ 'preupload:mina', 'upload:mina', 'postupload:mina' ]
5 info lifecycle xx@0.1.0~preupload:mina: xx@0.1.0
6 info lifecycle xx@0.1.0~upload:mina: xx@0.1.0
7 verbose lifecycle xx@0.1.0~upload:mina: unsafe-perm in lifecycle true
8 verbose lifecycle xx@0.1.0~upload:mina: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/Shared/Jenkins/Home/workspace/xxp/node_modules/.bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/Android/sdk/tools:/opt/Android/sdk/platform-tools
9 verbose lifecycle xx@0.1.0~upload:mina: CWD: /Users/Shared/Jenkins/Home/workspace/xx
10 silly lifecycle xx@0.1.0~upload:mina: Args: [ '-c',
10 silly lifecycle 'cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build && node build_script/removeResource.js && sh build_script/upload-wechat-mina.sh "1.3.0" "初始化版本"' ]
11 silly lifecycle xx@0.1.0~upload:mina: Returned: code: 255 signal: null
12 info lifecycle xx@0.1.0~upload:mina: Failed to exec upload:mina script
13 verbose stack Error: xx@0.1.0 upload:mina: `cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build && node build_script/removeResource.js && sh build_script/upload-wechat-mina.sh "1.3.0" "初始化版本"`
13 verbose stack Exit status 255
13 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:198: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:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid xx@0.1.0
15 verbose cwd /Users/Shared/Jenkins/Home/workspace/xx
16 verbose Darwin 17.4.0
17 verbose argv "/usr/local/Cellar/node/9.11.1/bin/node" "/usr/local/bin/npm" "run" "upload:mina" "--env=xx" "--apiType=release" "1.3.0" "初始化版本"
18 verbose node v10.16.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 255
22 error xx@0.1.0 upload:mina: `cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build && node build_script/removeResource.js && sh build_script/upload-wechat-mina.sh "1.3.0" "初始化版本"`
22 error Exit status 255
23 error Failed at the xx@0.1.0 upload:mina script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 255, true ]