Skip to content

Instantly share code, notes, and snippets.

@ralyodio
Created May 24, 2020 21:42
Show Gist options
  • Save ralyodio/256bdcd67ff3adedd08cdc74fe8cae3e to your computer and use it in GitHub Desktop.
Save ralyodio/256bdcd67ff3adedd08cdc74fe8cae3e to your computer and use it in GitHub Desktop.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@6.14.4
3 info using node@v14.2.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle puump-daemon@1.0.0~prestart: puump-daemon@1.0.0
6 info lifecycle puump-daemon@1.0.0~start: puump-daemon@1.0.0
7 verbose lifecycle puump-daemon@1.0.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle puump-daemon@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/src/app/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle puump-daemon@1.0.0~start: CWD: /usr/src/app
10 silly lifecycle puump-daemon@1.0.0~start: Args: [
10 silly lifecycle '-c',
10 silly lifecycle "npx pm2-runtime index.js --name='puump-daemon' --watch --max-old-space-size=4096 --node-args='-r esm'"
10 silly lifecycle ]
11 silly lifecycle puump-daemon@1.0.0~start: Returned: code: 2 signal: null
12 info lifecycle puump-daemon@1.0.0~start: Failed to exec start script
13 verbose stack Error: puump-daemon@1.0.0 start: `npx pm2-runtime index.js --name='puump-daemon' --watch --max-old-space-size=4096 --node-args='-r esm'`
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
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:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1051:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid puump-daemon@1.0.0
15 verbose cwd /usr/src/app
16 verbose Linux 4.15.0-99-generic
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v14.2.0
19 verbose npm v6.14.4
20 error code ELIFECYCLE
21 error errno 2
22 error puump-daemon@1.0.0 start: `npx pm2-runtime index.js --name='puump-daemon' --watch --max-old-space-size=4096 --node-args='-r esm'`
22 error Exit status 2
23 error Failed at the puump-daemon@1.0.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment