log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'serve' ]
2 info using npm@6.9.0
3 info using node@v10.16.0
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle asset_manage@0.1.0~preserve: asset_manage@0.1.0
6 info lifecycle asset_manage@0.1.0~serve: asset_manage@0.1.0
7 verbose lifecycle asset_manage@0.1.0~serve: unsafe-perm in lifecycle true
8 verbose lifecycle asset_manage@0.1.0~serve: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\admin\Desktop\WorkSpace\dmafe_git\datamanagement\vue_project\asset_manage\node_modules\.bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\admin\AppData\Roaming\npm;D:\Program Files\Microsoft VS Code\bin
9 verbose lifecycle asset_manage@0.1.0~serve: CWD: C:\Users\admin\Desktop\WorkSpace\dmafe_git\datamanagement\vue_project\asset_manage
10 silly lifecycle asset_manage@0.1.0~serve: Args: [ '/d /s /c',
10 silly lifecycle   'node ../node_modules/@vue/cli-service/bin/vue-cli-service.js serve' ]
11 silly lifecycle asset_manage@0.1.0~serve: Returned: code: 1  signal: null
12 info lifecycle asset_manage@0.1.0~serve: Failed to exec serve script
13 verbose stack Error: asset_manage@0.1.0 serve: `node ../node_modules/@vue/cli-service/bin/vue-cli-service.js serve`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\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> (C:\Program Files\nodejs\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 asset_manage@0.1.0
15 verbose cwd C:\Users\admin\Desktop\WorkSpace\dmafe_git\datamanagement\vue_project\asset_manage
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
18 verbose node v10.16.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error asset_manage@0.1.0 serve: `node ../node_modules/@vue/cli-service/bin/vue-cli-service.js serve`
22 error Exit status 1
23 error Failed at the asset_manage@0.1.0 serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

推荐阅读更多精彩内容