Error installing hydrogen for Atom

376 views
Skip to first unread message

Achu

unread,
Apr 7, 2016, 9:58:20 PM4/7/16
to julia-users
Was trying to install hydrogen for Atom when I got this error. Tried it with every available version of ZMQ and no luck. Anyone know why?

Installing hydrogen to C:\Users\achug\.atom\packages failed 

> z...@2.14.0 install C:\Users\achug\AppData\Local\Temp\apm-install-dir-11637-16296-1xp74zg\node_modules\Hydrogen\node_modules\jmp\node_modules\zmq
> node-gyp rebuild


C:\Users\achug\AppData\Local\Temp\apm-install-dir-11637-16296-1xp74zg\node_modules\Hydrogen\node_modules\jmp\node_modules\zmq>if not defined npm_config_node_gyp (node "C:\Users\achug\AppData\Local\atom\app-1.6.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )

gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\achug\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\achug\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\achug\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\achug\\.atom\\.apmrc" "install" "C:\\Users\\achug\\AppData\\Local\\Temp\\d-11637-16296-10fuf5t\\package.tgz" "--target=0.34.5" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! z...@2.14.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the z...@2.14.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the zmq package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls zmq
npm ERR! There is likely additional logging output above.

Jeffrey Sarnoff

unread,
Apr 8, 2016, 1:14:02 AM4/8/16
to julia-users
I have experienced this too.  Hydrogen has never been a load-and-go proposition for Julia on Windows.  Before this, there were other hang-ups and some have had their roots in something an earlier release of Atom on Win was doing or not doing.  I have downloaded a version of Juno/LT that works on Win7.  It is less of an advanced editor today, but it coordinates easily with Julia for type/eval/edit/eval/save.

Achu

unread,
Apr 8, 2016, 11:38:28 AM4/8/16
to julia-users
That's unfortunate. I was excited about hydrogen.

Alex Mellnik

unread,
May 24, 2016, 5:23:25 PM5/24/16
to julia-users
I had this exact same problem.  What fixed it for me was using the nuclear option to force everything in the build to use python 2.7:  I temporarily removed 3.5 from my path and replaced it with 2.7.  

I had previously tried setting the PYTHON environment variable to the 2.7 executable and telling npm to use 2.7, but had no luck.  

I've since restored 3.5 to my path, and can launch and use Hydrogen successfully.  It's pretty magical.  

-A
Reply all
Reply to author
Forward
0 new messages