maccman/juggernaut

node.js upgrade caused juggernaut runtime fail: Error: require.paths is removed

Opened this issue · 0 comments

I pulled node.js (v0.5.7-pre) and built. Now juggernaut fails to start with:

$ juggernaut

node.js:203
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
    at Function.<anonymous> (module.js:360:11)
    at Object.<anonymous> (/usr/local/lib/node_modules/juggernaut/index.js:1:70)
    at Module._compile (module.js:416:26)
    at Object..js (module.js:434:10)
    at Module.load (module.js:335:31)
    at Function._load (module.js:294:12)
    at Module.require (module.js:341:17)
    at require (module.js:352:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/juggernaut/server.js:20:14)
    at Module._compile (module.js:416:26)