Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

请问 这个是我版本太高导致的么?node 构建前端 老是不成功 #49

Open
a290013130 opened this issue Feb 11, 2020 · 0 comments

Comments

@a290013130
Copy link

2 info using npm@6.13.4
3 info using node@v12.14.1
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle vue-gopub-admin@1.0.0prebuild: vue-gopub-admin@1.0.0
6 info lifecycle vue-gopub-admin@1.0.0
build: vue-gopub-admin@1.0.0
7 verbose lifecycle vue-gopub-admin@1.0.0build: unsafe-perm in lifecycle true
8 verbose lifecycle vue-gopub-admin@1.0.0
build: PATH: /usr/local/lib/nodejs/node-v12.14.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/gopub/vue-gopub/node_modules/.bin:/usr/local/lib/nodejs/node-v12.14.1-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/go/bin:/opt/gopub/bin:/root/bin
9 verbose lifecycle vue-gopub-admin@1.0.0build: CWD: /opt/gopub/vue-gopub
10 silly lifecycle vue-gopub-admin@1.0.0
build: Args: [ '-c', 'node build/build.js' ]
11 silly lifecycle vue-gopub-admin@1.0.0build: Returned: code: 1 signal: null
12 info lifecycle vue-gopub-admin@1.0.0
build: Failed to exec build script
13 verbose stack Error: vue-gopub-admin@1.0.0 build: node build/build.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/nodejs/node-v12.14.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:223:5)
13 verbose stack at ChildProcess. (/usr/local/lib/nodejs/node-v12.14.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:223:5)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid vue-gopub-admin@1.0.0
15 verbose cwd /opt/gopub/vue-gopub
16 verbose Linux 3.10.0-1062.9.1.el7.x86_64
17 verbose argv "/usr/local/lib/nodejs/node-v12.14.1-linux-x64/bin/node" "/usr/local/lib/nodejs/node-v12.14.1-linux-x64/bin/npm" "run" "build"
18 verbose node v12.14.1
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant