Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

npm install doesn't work OSX #190

Closed
joneshf opened this issue Dec 10, 2016 · 2 comments
Closed

npm install doesn't work OSX #190

joneshf opened this issue Dec 10, 2016 · 2 comments

Comments

@joneshf
Copy link

joneshf commented Dec 10, 2016

Following the instructions here: https://www.npmjs.com/package/elm

➜  ~ npm i -g elm
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
/usr/local/bin/elm -> /usr/local/lib/node_modules/elm/binwrappers/elm
/usr/local/bin/elm-make -> /usr/local/lib/node_modules/elm/binwrappers/elm-make
/usr/local/bin/elm-reactor -> /usr/local/lib/node_modules/elm/binwrappers/elm-reactor
/usr/local/bin/elm-package -> /usr/local/lib/node_modules/elm/binwrappers/elm-package
/usr/local/bin/elm-repl -> /usr/local/lib/node_modules/elm/binwrappers/elm-repl

> elm@0.18.0 install /usr/local/lib/node_modules/elm
> node install.js

Error decompressing darwin-x64.tar.gz Error: unknown compression method
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/5.9.1/bin/node" "/usr/local/bin/npm" "i" "-g" "elm"
npm ERR! node v5.9.1
npm ERR! npm  v3.7.3
npm ERR! code ELIFECYCLE

npm ERR! elm@0.18.0 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the elm@0.18.0 install script 'node install.js'.
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 elm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs elm
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls elm
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/joneshf/npm-debug.log
➜  ~ uname -a
Darwin Hardys-MacBook-Pro.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64

OS X El Capitan 10.11.4 (15E65)

➜  ~ npm --version
3.7.3

Let me know if you need more information.

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@joneshf
Copy link
Author

joneshf commented Dec 10, 2016

Seems it was a problem with my node version: nodejs/node#5852

Updating to the latest seems to make all things right with the world.

@joneshf joneshf closed this as completed Dec 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants