node.js:201
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:376:11)
at Object. (/usr/local/lib/node_modules/wheat/lib/wheat.js:23:8)
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. (/home/sanbor/Projects/Playground/howtonode.org/server/server.js:8:3)
at Module._compile (module.js:432:26)
I did npm install wheat, then I also installed the packages stack and creationix. When I run node server/server.js I got this
sanbor@sanbor:~/Projects/Playground/howtonode.org$ node server/server.js
node.js:201 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:376:11)
at Object. (/usr/local/lib/node_modules/wheat/lib/wheat.js:23:8)
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. (/home/sanbor/Projects/Playground/howtonode.org/server/server.js:8:3)
at Module._compile (module.js:432:26)