Skip to content

Instantly share code, notes, and snippets.

@JoaoVagner
Created October 30, 2018 21:35
Show Gist options
  • Save JoaoVagner/b94c4b7d3c1723c7bf5e5697e13909d9 to your computer and use it in GitHub Desktop.
Save JoaoVagner/b94c4b7d3c1723c7bf5e5697e13909d9 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', 'run', 'seed' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preseed', 'seed', 'postseed' ]
5 info lifecycle [email protected]~preseed: [email protected]
6 info lifecycle [email protected]~seed: [email protected]
7 verbose lifecycle [email protected]~seed: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~seed: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/application/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle [email protected]~seed: CWD: /application
10 silly lifecycle [email protected]~seed: Args: [ '-c', 'sequelize db:seed:all' ]
11 silly lifecycle [email protected]~seed: Returned: code: 1 signal: null
12 info lifecycle [email protected]~seed: Failed to exec seed script
13 verbose stack Error: [email protected] seed: `sequelize db:seed:all`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/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.<anonymous> (/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 [email protected]
15 verbose cwd /application
16 verbose Linux 4.14.72-73.55.amzn2.x86_64
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "seed"
18 verbose node v8.12.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] seed: `sequelize db:seed:all`
22 error Exit status 1
23 error Failed at the [email protected] seed script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment