npm install . doesn't install coffee-script #102

leto opened this Issue Oct 29, 2011 · 9 comments

6 participants


I had to run npm install -g coffee-script in addition to npm install . to get bin/hubot to run correctly.

@cldwalker cldwalker added a commit to cldwalker/hubot that referenced this issue Oct 29, 2011
@cldwalker cldwalker update readme to use bin/hubot correctly
otherwise users have to resort to installing coffee-script globally
for example github/hubot#102

Which version? This should be getting installed for you.


Looks like 3bf1e04 fixes the README issue which ran me down this path.

@leto leto closed this Oct 29, 2011

Looks like this issue still happens if you install npm with brew.

npm install -g coffee-script let me continue with the hubot install instructions.


README was updated a couple of days ago to reflect this


Ah looks like I am a maniac. Ignore ;)


even after installing coffee-script, I still get env: coffee: No such file or directory error


You need to install coffee-script globally using npm install -g coffee-script.


I did install it globally. that didn't help.

in the end, I removed node.js (I installed it via Homebrew) and installed a fresh one via Node.js official installer.

not sure what was the problem. might have been my PATH or a symlink


Seeing some strange issues around this as well:

~$ npm install -g coffee-script
npm http GET
npm http 304
npm ERR! tar.unpack untar error /Users/parker/.npm/coffee-script/1.7.1/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/coffee-script/bin'
npm ERR! error rolling back  coffee-script@1.7.1 { [Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/coffee-script/bin']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/usr/local/lib/node_modules/coffee-script/bin' }
npm ERR! Error: unexpected eof
npm ERR!     at decorate (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/fstream/lib/abstract.js:67:36)
npm ERR!     at Extract.Abstract.error (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/fstream/lib/abstract.js:61:12)
npm ERR!     at Extract._streamEnd (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/tar/lib/extract.js:75:22)
npm ERR!     at BlockStream.<anonymous> (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/tar/lib/parse.js:50:8)
npm ERR!     at BlockStream.EventEmitter.emit (events.js:92:17)
npm ERR!     at BlockStream._emitChunk (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/block-stream/block-stream.js:203:10)
npm ERR!     at BlockStream.resume (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/block-stream/block-stream.js:58:15)
npm ERR!     at Extract.Reader.resume (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/fstream/lib/reader.js:253:34)
npm ERR!     at Entry.<anonymous> (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/tar/lib/parse.js:256:8)
npm ERR!     at Entry.EventEmitter.emit (events.js:92:17)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <>

npm ERR! System Darwin 13.1.0
npm ERR! command "/usr/local/Cellar/node/0.10.26/bin/node" "/usr/local/bin/npm" "install" "-g" "coffee-script"
npm ERR! cwd /Users/parker
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! fstream_class Extract
npm ERR! fstream_stack Extract._streamEnd (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/tar/lib/extract.js:75:22)
npm ERR! fstream_stack BlockStream.<anonymous> (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/tar/lib/parse.js:50:8)
npm ERR! fstream_stack BlockStream.EventEmitter.emit (events.js:92:17)
npm ERR! fstream_stack BlockStream._emitChunk (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/block-stream/block-stream.js:203:10)
npm ERR! fstream_stack BlockStream.resume (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/block-stream/block-stream.js:58:15)
npm ERR! fstream_stack Extract.Reader.resume (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/fstream/lib/reader.js:253:34)
npm ERR! fstream_stack Entry.<anonymous> (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/tar/lib/parse.js:256:8)
npm ERR! fstream_stack Entry.EventEmitter.emit (events.js:92:17)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/parker/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment