{"issue":{"created_at":"2011-11-24T00:15:14Z","state":"closed","updated_at":"2011-11-25T00:51:41Z","user":{"gravatar_id":"e7ba5e4295a1e23b7e91caf6c13eb79d","id":1170398,"url":"https://api.github.com/users/gabipetrovay","login":"gabipetrovay","avatar_url":"https://secure.gravatar.com/avatar/e7ba5e4295a1e23b7e91caf6c13eb79d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":14,"body":"How can I correct this:\r\n\r\n```$ node my_app/app.js\r\nnode.js:201\r\n        throw e; // process.nextTick error, or 'error' event on first tick\r\n              ^\r\nError: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.\r\n    at Function.<anonymous> (module.js:376:11)\r\n    at Object.<anonymous> (/home/gabriel/.node_libraries/express@2.5.1/index.js:4:21)\r\n    at Module._compile (module.js:432:26)\r\n    at Object..js (module.js:450:10)\r\n    at Module.load (module.js:351:31)\r\n    at Function._load (module.js:310:12)\r\n    at Module.require (module.js:357:17)\r\n    at require (module.js:368:17)\r\n    at Object.<anonymous> (/home/gabriel/my_app/app.js:6:15)\r\n    at Module._compile (module.js:432:26)```\r\n\r\n\r\n```$ node --version\r\nv0.6.2```\r\n\r\n\r\nMy project does not have an ```node_modules``` directory because I want to use the global npm installed packages in my home directory. Under ```~/.node_libraries``` I have:\r\n\r\n```application-name -> ./application-name@0.0.1/\r\napplication-name@0.0.1/\r\ncommander -> ./commander@0.2.1/\r\ncommander@0.2.1/\r\ncommander@0.4.1/\r\nconnect -> ./connect@1.8.0/\r\nconnect@1.8.0/\r\ncontextify -> ./contextify@0.0.6/\r\ncontextify@0.0.6/\r\ncssom -> ./cssom@0.2.1/\r\ncssom@0.2.1/\r\nexpress -> ./express@2.5.1/\r\nexpress@2.5.1/\r\nformidable -> ./formidable@1.0.7/\r\nformidable@1.0.7/\r\nhtml2jade -> ./html2jade@0.1.0/\r\nhtml2jade@0.1.0/\r\nhtmlparser -> ./htmlparser@1.7.3/\r\nhtmlparser@1.7.3/\r\njade -> ./jade@0.18.0/\r\njade@0.17.0/\r\njade@0.18.0/\r\njsdom -> ./jsdom@0.2.10/\r\njsdom@0.2.10/\r\njsdom@0.2.9/\r\nmime -> ./mime@1.2.4/\r\nmime@1.2.4/\r\nmkdirp -> ./mkdirp@0.2.1/\r\nmkdirp@0.0.7/\r\nmkdirp@0.2.1/\r\nqs -> ./qs@0.3.2/\r\nqs@0.3.2/\r\nrequest -> ./request@2.2.5/\r\nrequest@2.2.5/```\r\n\r\nDo you see something wrong with this configuration and how I can resolve this?\r\n\r\nThanks!","assignee":null,"id":2336220,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":902,"labels":[],"title":"require.paths is removed","closed_at":"2011-11-24T23:24:37Z","html_url":"https://github.com/visionmedia/express/issues/902","url":"https://api.github.com/repos/visionmedia/express/issues/902","milestone":null},"action":"created","comment":{"created_at":"2011-11-25T00:51:41Z","updated_at":"2011-11-25T00:51:41Z","user":{"gravatar_id":"e7ba5e4295a1e23b7e91caf6c13eb79d","id":1170398,"url":"https://api.github.com/users/gabipetrovay","login":"gabipetrovay","avatar_url":"https://secure.gravatar.com/avatar/e7ba5e4295a1e23b7e91caf6c13eb79d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I am using 1.0 now. Just that 0.2 that apt-get initially downloaded left garbage (~/bin) behind and also in the PATH. Hence the errors: using newest node with old npm modules.\r\n\r\nThank you all! I'm flying again! (See you at the next feature/bug/problem!) ;)","id":2870429,"url":"https://api.github.com/repos/visionmedia/express/issues/comments/2870429"}}