Answer the question
In order to leave comments, you need to log in
What does the node not like?
I deploy the front for laravel 5.5
I do npm install (everything goes well)
I do next npm run prod (As well as watch and dev)
And I get
0 info it worked if it ends with ok
1 verbose cli [ '/home/ubuntu/.nvm/versions/node/v8.6.0/lib/node_modules/node/bin/node',
1 verbose cli '/home/ubuntu/.nvm/versions/node/v8.6.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle @~predev: @
6 info lifecycle @~dev: @
7 verbose lifecycle @~dev: unsafe-perm in lifecycle true
8 verbose lifecycle @~dev: PATH: /home/ubuntu/.nvm/versions/node/v8.6.0/lib/node_modules/npm/bin/node-gyp-bin:/var/www/swfy-everycert/node_modules/.bin:/home/ubuntu/.nvm/versions/node/v8.6.0/bin:/home/ubun$
9 verbose lifecycle @~dev: CWD: /var/www/swfy-everycert
10 silly lifecycle @~dev: Args: [ '-c', 'npm run development' ]
11 silly lifecycle @~dev: Returned: code: 1 signal: null
12 info lifecycle @~dev: Failed to exec dev script
13 verbose stack Error: @ dev: `npm run development`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/home/ubuntu/.nvm/versions/node/v8.6.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
13 verbose stack at emitTwo (events.js:125:13)
13 verbose stack at EventEmitter.emit (events.js:213:7)
13 verbose stack at ChildProcess.<anonymous> (/home/ubuntu/.nvm/versions/node/v8.6.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:125:13)
13 verbose stack at ChildProcess.emit (events.js:213:7)
13 verbose stack at maybeClose (internal/child_process.js:927:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid @
15 verbose cwd /var/www/swfy-everycert
16 verbose Linux 4.4.0-34-generic
17 verbose argv "/home/ubuntu/.nvm/versions/node/v8.6.0/lib/node_modules/node/bin/node" "/home/ubuntu/.nvm/versions/node/v8.6.0/bin/npm" "run" "dev"
18 verbose node v8.3.0
19 verbose npm v5.4.2
20 error code ELIFECYCLE
21 error errno 1
22 error @ dev: `npm run development`
22 error Exit status 1
23 error Failed at the @ dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Answer the question
In order to leave comments, you need to log in
Most likely, the problems are in the 8th node, try to roll back to the 7th or even the 6th, which is now LTS, i.e. the most stable, in general. Other people are complaining
about the same problem .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question