kevva / elm-bin

elm-platform bin-wrapper that makes it seamlessly available as a local dependency
MIT License
18 stars 5 forks source link

Cannot install binaries #1

Closed passy closed 9 years ago

passy commented 9 years ago

Looks great and tests are working fine for me but when I try to install this globally, I get this error:

npm ERR! Error: ENOENT, chmod '/Users/phartig/.node/lib/node_modules/elm-platform-bin/cli.js --elm-binary-name elm-doc'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "."
npm ERR! cwd /Users/phartig/Projects/elm/elm-platform-bin
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! path /Users/phartig/.node/lib/node_modules/elm-platform-bin/cli.js --elm-binary-name elm-doc
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! not ok code 0

Which sounds reasonable as it tries to chmod +x the all things listed as binaries, ie. cli.js --elm-binary-name doc. Did you see that, too?

kevva commented 9 years ago

Yup, should be fixed now.

passy commented 9 years ago

Sweet, thank you!