Skip to content

Instantly share code, notes, and snippets.

@license2e
Created August 27, 2015 02:37
Show Gist options
  • Save license2e/7583a974f8112c8945f0 to your computer and use it in GitHub Desktop.
Save license2e/7583a974f8112c8945f0 to your computer and use it in GitHub Desktop.
Using iojs-v3.2.0 throws an error: 'Segmentation fault: 11' when running 'npm start'
0 info it worked if it ends with ok
1 verbose cli [ '/Users/<user>/.nvm/versions/io.js/v3.2.0/bin/iojs',
1 verbose cli '/Users/<user>/.nvm/versions/io.js/v3.2.0/bin/npm',
1 verbose cli 'start' ]
2 info using npm@2.13.3
3 info using node@v3.2.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart <App>@0.0.1
6 info start <App>@0.0.1
7 verbose unsafe-perm in lifecycle true
8 info <App>@0.0.1 Failed to exec start script
9 verbose stack Error: <App>@0.0.1 start: `node_modules/react-native/packager/packager.sh`
9 verbose stack Exit status 139
9 verbose stack at EventEmitter.<anonymous> (/Users/<user>/.nvm/versions/io.js/v3.2.0/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess.<anonymous> (/Users/<user>/.nvm/versions/io.js/v3.2.0/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:764:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid <App>@0.0.1
11 verbose cwd /Users/<user>/path/to/<App>
12 error Darwin 14.5.0
13 error argv "/Users/<user>/.nvm/versions/io.js/v3.2.0/bin/iojs" "/Users/<user>/.nvm/versions/io.js/v3.2.0/bin/npm" "start"
14 error node v3.2.0
15 error npm v2.13.3
16 error code ELIFECYCLE
17 error <App>@0.0.1 start: `node_modules/react-native/packager/packager.sh`
17 error Exit status 139
18 error Failed at the <App>@0.0.1 start script 'node_modules/react-native/packager/packager.sh'.
18 error This is most likely a problem with the <App> package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node_modules/react-native/packager/packager.sh
18 error You can get their info via:
18 error npm owner ls <App>
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment