Pita/etherpad-lite — Issue #492: jshint 0.5.8
Author: langner
Created: 2012-02-24 15:09:58+00:00
State: open

On my Debian box, after pulling the most recent changes to etherpad-lite, running bin/installDeps.sh crashes upon trying to install jshint 0.5.8:

npm WARN prefer global jshint@0.5.8 should be installed with -g
npm ERR! error installing jshint@0.5.8

npm ERR! Error: ENOENT, no such file or directory '/home/kml/tmp/etherpad-lite/node_modules/jshint/bin/hint'
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.32-5-amd64
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/kml/tmp/etherpad-lite
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.1
npm ERR! path /home/kml/tmp/etherpad-lite/node_modules/jshint/bin/hint
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/home/kml/tmp/etherpad-lite/node_modules/jshint/bin/hint'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/kml/tmp/etherpad-lite/npm-debug.log
npm not ok

Now, I'm not convinced that this is purely an issue with npm, because if I replace "*" for jshint in package.json with an earlier version (like 0.5.7), the installation of dependencies finishes fine.