require.paths is removed... #31

Closed
MichaelWhi opened this Issue Sep 5, 2011 · 3 comments

2 participants

@MichaelWhi

Hello guys.
I just wanted to try out hummingbird, but cannot start it.
I installed node, npm and mongo-db on a Ubuntu 10.04 and get the following error while starting:

michaelwhi@server:~/hummingbird$ node server.js

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. (module.js:360:11)
at Object. (/home/michaelwhi/hummingbird/server.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 Array. (module.js:454:10)
at EventEmitter._tickCallback (node.js:195:26)

Do you have any ideas how to fix this? I already added the path variable:

michaelwhi@server:~$ echo $NODE_PATH
/usr/local/lib/node

Since I'm new to node.js I have no idea what to do now... So thanks a lot for any help!

@mnutt
Owner

It looks like you're using Node 0.5. Right now Hummingbird only works on node 0.4.x, though I'll be removing the require.paths to make it work with 0.5 in the future.

Cheers,
Michael

@mnutt mnutt closed this Sep 5, 2011
@MichaelWhi
@mnutt
Owner

Hummingbird now works in node 0.5.x, except for the geoip module which doesn't yet support 0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment