rabbitmq/rabbitmq-service-nodejs-sample — pull request #2 by Yuffster (2012-12-25 01:48:42+00:00)
Title: Removed deprecated call to require.paths.

I'm not sure the call to require.paths is necessary anymore. It won't run on a current version of node.

Removing the line seems to make everything work fine, since it's all in node_modules.

>Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
> at Function. (module.js:381:11)
> at Object. (/Users/m/repos/rabbitmq-service-nodejs-sample/app.js:1:70)
> at Module._compile (module.js:444:26)
> at Object..js (module.js:462:10)
> at Module.load (module.js:351:31)
> at Function._load (module.js:310:12)
> at Array.0 (module.js:482:10)
> at EventEmitter._tickCallback (node.js:192:40)