isaacs/npm — Issue #2081: error installing hbs
Author: ehynds
Created: 2012-01-24 00:28:24+00:00
State: open

I get this error on my ubuntu VPS, but not my OSX dev environment, using the same version of node & npm.

````
npm http GET https://registry.npmjs.org/hbs/1.0.1
npm http 304 https://registry.npmjs.org/hbs/1.0.1
npm http GET https://registry.npmjs.org/hbs/-/hbs-1.0.1.tgz
npm http 200 https://registry.npmjs.org/hbs/-/hbs-1.0.1.tgz
npm http GET https://registry.npmjs.org/handlebars
npm http 304 https://registry.npmjs.org/handlebars
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/uglify-js
npm ERR! error installing optimist@0.3.1
npm ERR! error installing handlebars@1.0.4beta
npm ERR! error installing hbs@1.0.1

npm ERR! Error: ENOENT, no such file or directory '/home/ehynds/public_html/tabbasket.com/releases/20120123233632/node_modules/hbs/node_modules/handlebars/node_modules/___uglify-js.npm/package/bin/uglifyjs'
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.39.1-linode34
npm ERR! command "node" "/usr/local/bin/npm" "install" "hbs"
npm ERR! cwd /home/ehynds/public_html/tabbasket.com/releases/20120123233632
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! path /home/ehynds/public_html/tabbasket.com/releases/20120123233632/node_modules/hbs/node_modules/handlebars/node_modules/___uglify-js.npm/package/bin/uglifyjs
npm ERR! fstream_path /home/ehynds/public_html/tabbasket.com/releases/20120123233632/node_modules/hbs/node_modules/handlebars/node_modules/___uglify-js.npm/package/bin/uglifyjs
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/home/ehynds/public_html/tabbasket.com/releases/20120123233632/node_modules/hbs/node_modules/handlebars/node_modules/___uglify-js.npm/package/bin/uglifyjs'
npm ERR! errno {}
npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:204:26)

npm ERR! Error: ENOENT, no such file or directory '/home/ehynds/public_html/tabbasket.com/releases/20120123233632/node_modules/hbs/node_modules/handlebars/node_modules/optimist/package.json'
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.39.1-linode34
npm ERR! command "node" "/usr/local/bin/npm" "install" "hbs"
npm ERR! cwd /home/ehynds/public_html/tabbasket.com/releases/20120123233632
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! path /home/ehynds/public_html/tabbasket.com/releases/20120123233632/node_modules/hbs/node_modules/handlebars/node_modules/optimist/package.json
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/home/ehynds/public_html/tabbasket.com/releases/20120123233632/node_modules/hbs/node_modules/handlebars/node_modules/optimist/package.json'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ehynds/public_html/tabbasket.com/releases/20120123233632/npm-debug.log
npm not ok
````