facebookarchive / nuclide

An open IDE for web and native mobile development, built on top of Atom
https://nuclide.io
Other
7.79k stars 682 forks source link

Uncaught Error: Packager exited with non-zero exit code (1) #610

Open akshaysmurthy opened 8 years ago

akshaysmurthy commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0 System: Mac OS X 10.11.5 Thrown From: nuclide package, v0.155.0

Stack Trace

Uncaught Error: Packager exited with non-zero exit code (1)

At /Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:50

Error: Packager exited with non-zero exit code (1)
  at c.project (/Users/akshay/.atom/packages/nuclide/pkg/nuclide-react-native/lib/packager/PackagerActivation.js:177:89)
  at c._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:325:140)
  at c.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at c.notifyNext (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:326:282)
  at b._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:10:323)
  at b.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at c.notifyNext (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:275:183)
  at b._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:10:323)
  at b.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at c.notifyNext (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:275:183)
  at b._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:10:323)
  at b.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at c.e._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:401)
  at c.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at e._next (/Users/akshay/.atom/packages/nuclide/pkg/commons-node/stream.js:322:16)
  at e.__tryOrUnsub (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:50:141)
  at e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:49:63)
  at e._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:401)
  at e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at c.b.notifyNext (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:16:355)
  at b._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:10:323)
  at b.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at c.b.notifyNext (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:16:355)
  at b._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:10:323)
  at b.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at c.b.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:40:408)
  at c.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:18:170)
  at c.e._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:401)
  at c.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at d._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:265:293)
  at d.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at b._next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:331:161)
  at b.e.next (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:47:64)
  at ChildProcess.<anonymous> (/Users/akshay/.atom/packages/nuclide/node_modules/rxjs/bundles/Rx.umd.min.js:123:196)
  at emitTwo (events.js:92:20)
  at ChildProcess.emit (events.js:172:7)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands

     -0:09.8.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused.power-mode)
     -0:06.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:06.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:05.7.0 command-palette:toggle (atom-text-editor.editor.power-mode.is-focused)
  4x -0:02.7.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:00.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.9.0 nuclide-react-native:start-packager (atom-text-editor.editor.power-mode)
     -0:00.9.0 nuclide-console:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "customFileTypes": {
      "source.ini": [
        ".buckconfig"
      ],
      "source.json": [
        ".arcconfig",
        "BUCK.autodeps"
      ],
      "source.python": [
        "BUCK"
      ]
    },
    "disabledPackages": [
      "linter",
      "tree-view"
    ],
    "excludeVcsIgnoredPaths": false
  },
  "nuclide": {
    "nuclide-arcanist": {},
    "nuclide-buck-files": {},
    "nuclide-debugger-hhvm": {},
    "nuclide-diagnostics-store": {
      "consumeLegacyLinters": false
    },
    "nuclide-flow": {},
    "nuclide-format-js": {},
    "nuclide-health": {},
    "nuclide-home": {
      "showHome": false
    },
    "nuclide-ocaml": {},
    "nuclide-output": {}
  }
}

Installed Packages

# User
activate-power-mode, v0.7.0
atom-jade, v0.3.0
file-hyperclick, v0.1.0
js-hyperclick, v1.4.2
language-javascript-jsx, v0.3.7
linter-eslint, v7.2.4
merge-conflicts, v1.4.4
nuclide, v0.155.0
react, v0.15.0

# Dev
No dev packages
nmote commented 8 years ago

Please fill out steps to reproduce

justingosan commented 8 years ago

minimal steps to reproduce for me.

  1. fresh install of latest atom + nuclide
  2. start packager

node v6.3.1 osx 10.11.5

what's weird is it works fine in my laptop with the same specs

mujuni88 commented 8 years ago

I was experiencing the same error but it was because I was running node v5.0. It worked after I updated node to v6.3.1.

andrewvmail commented 8 years ago

Also experience this with a fresh install react-native run-ios works fine from terminal

justingosan commented 8 years ago

Ok so what i did was uninstall, clean, reinstall the latest node and that fixed this issue :) used brew to do this

On Fri, Aug 19, 2016, 5:42 PM MomoTerra notifications@github.com wrote:

Also experience this with a fresh install react-native run-ios works fine from terminal

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/facebook/nuclide/issues/610#issuecomment-240974902, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5m-z1Hbcn01COKgKzB8DVLX4Xububzks5qhXqQgaJpZM4JNBYu .

andrewvmail commented 8 years ago

That didn't work for me. I use NVM ... but I figured it out anyone using NVM if running into this issue the fix is go to Settings > Packages > Nuclide > Settings > Nuclide-react-native section > Path to Node and insert the output of "which node" in terminal.