Pita/etherpad-lite — Issue #225: Gentoo Install Fails: Node.js "throw" - no such module
Author: jlpoole
Created: 2011-11-23 00:58:03+00:00
State: open

I think I had etherpad-lite working on this machine before, if not, then it was Etherpad.

atom etherpad-lite # pwd
/usr/local/src/etherpad-lite
atom etherpad-lite # bin/installDeps.sh

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: No such module
at Object. (/usr/lib/node_modules/npm/lib/utils/config-defs.js:5:21)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/usr/lib/node_modules/npm/lib/utils/ini.js:40:18)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
Ensure that all dependencies are up to date...

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: No such module
at Object. (/usr/lib/node_modules/npm/lib/utils/config-defs.js:5:21)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/usr/lib/node_modules/npm/lib/utils/ini.js:40:18)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
atom etherpad-lite # eix nodejs
[D] net-libs/nodejs
Available versions: (~)0.4.11!t (~)0.4.12!t
Installed versions: 0.6.0!t(16:33:07 11/22/11)
Homepage: http://nodejs.org/
Description: Evented IO for V8 Javascript

atom etherpad-lite # git pull
Already up-to-date.
atom etherpad-lite # date
Tue Nov 22 16:45:19 PST 2011
atom etherpad-lite # uname -a
Linux atom 2.6.36-gentoo-r5 #1 SMP Fri Jan 21 16:47:09 PST 2011 i686 Intel(R) Atom(TM) CPU D525 @ 1.80GHz GenuineIntel GNU/Linux
atom etherpad-lite #