-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Description
Version
3.0.3
Node and OS info
Node: v8.12.0, NPM: 6.4.1
Steps to reproduce
I'm having an error while running the newly created pwa template from Vue.JS 3.
The command that I'm using is npm run serve
What is expected?
I'm expecting to run my pwa template.
What is actually happening?
Having error that says
The error says,
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! mywebapp@0.1.0 serve: vue-cli-service serve
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the mywebapp@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /var/root/.npm/_logs/2018-09-25T07_17_36_807Z-debug.log
Here's the full log from 2018-09-25T07_17_36_807Z-debug.log file
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'serve' ]
2 info using npm@6.4.1
3 info using node@v8.12.0
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle mywebapp@0.1.0preserve: mywebapp@0.1.0serve: mywebapp@0.1.0
6 info lifecycle mywebapp@0.1.0
7 verbose lifecycle mywebapp@0.1.0serve: unsafe-perm in lifecycle trueserve: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/myuser/Documents/AppFolder$
8 verbose lifecycle mywebapp@0.1.0
9 verbose lifecycle mywebapp@0.1.0serve: CWD: /Users/myser/Documents/AppFolder/mywebappserve: Args: [ '-c', 'vue-cli-service serve' ]
10 silly lifecycle mywebapp@0.1.0
11 silly lifecycle mywebapp@0.1.0serve: Returned: code: 126 signal: nullserve: Failed to exec serve script
12 info lifecycle mywebapp@0.1.0
13 verbose stack Error: mywebapp@0.1.0 serve: vue-cli-service serve
13 verbose stack Exit status 126
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:915:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid mywebapp@0.1.0
15 verbose cwd /Users/myuser/Documents/AppFolder/mywebapp
16 verbose Darwin 17.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "serve"
18 verbose node v8.12.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 126
22 error mywebapp@0.1.0 serve: vue-cli-service serve
22 error Exit status 126
23 error Failed at the mywebapp@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 [ 126, true ]