Skip to content

Instantly share code, notes, and snippets.

@8dspaces
Created March 28, 2017 13:59
Show Gist options
  • Select an option

  • Save 8dspaces/9b5f6961bcaa3d1a9f07b1200e3f85ac to your computer and use it in GitHub Desktop.

Select an option

Save 8dspaces/9b5f6961bcaa3d1a9f07b1200e3f85ac 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', 'init' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preinit', 'init', 'postinit' ]
5 info lifecycle [email protected]~preinit: [email protected]
6 silly lifecycle [email protected]~preinit: no script for preinit, continuing
7 info lifecycle [email protected]~init: [email protected]
8 verbose lifecycle [email protected]~init: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~init: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/qimick/Downloads/Ghost-master/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Applications/Postgres.app/Contents/Versions/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/go/bin
10 verbose lifecycle [email protected]~init: CWD: /Users/qimick/Downloads/Ghost-master
11 silly lifecycle [email protected]~init: Args: [ '-c',
11 silly lifecycle 'npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init' ]
12 silly lifecycle [email protected]~init: Returned: code: 3 signal: null
13 info lifecycle [email protected]~init: Failed to exec init script
14 verbose stack Error: [email protected] init: `npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init`
14 verbose stack Exit status 3
14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:886:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/qimick/Downloads/Ghost-master
17 error Darwin 16.4.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "init"
19 error node v6.10.1
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error [email protected] init: `npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init`
22 error Exit status 3
23 error Failed at the [email protected] init script 'npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the ghost package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init
23 error You can get information on how to open an issue for this project with:
23 error npm bugs ghost
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls ghost
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
---------- in commandline it show as below after run npm run init ----------
[qimick:~/Downloads/Ghost-master]$ npm run init
> [email protected] init /Users/qimick/Downloads/Ghost-master
> npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Use uuid module instead
/usr/local/bin/ember -> /usr/local/lib/node_modules/ember-cli/bin/ember
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
/usr/local/bin/knex-migrator-health -> /usr/local/lib/node_modules/knex-migrator/bin/knex-migrator-health
/usr/local/bin/knex-migrator -> /usr/local/lib/node_modules/knex-migrator/bin/knex-migrator
/usr/local/bin/knex-migrator-migrate -> /usr/local/lib/node_modules/knex-migrator/bin/knex-migrator-migrate
/usr/local/bin/knex-migrator-init -> /usr/local/lib/node_modules/knex-migrator/bin/knex-migrator-init
/usr/local/bin/knex-migrator-reset -> /usr/local/lib/node_modules/knex-migrator/bin/knex-migrator-reset
/usr/local/lib
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├── [email protected]
└── [email protected]
Running "update_submodules:default" (update_submodules) task
Warning: fatal: Not a git repository (or any of the parent directories): .git Use --force to continue.
Aborted due to warnings.
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "init"
npm ERR! node v6.10.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] init: `npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the [email protected] init script 'npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ghost package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm install -g knex-migrator ember-cli grunt-cli && npm install && grunt init
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ghost
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ghost
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/qimick/Downloads/Ghost-master/npm-debug.log
[qimick:~/Downloads/Ghost-master]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment