creationix / wheat

Wheat is a blog engine for coders written in node.JS
Other
1.36k stars 134 forks source link

Problem with Node 0.6? #36

Open sanbor opened 12 years ago

sanbor commented 12 years ago

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)

cronopio commented 12 years ago

yes, here the unshift() method deprecated on 0.6

TooTallNate commented 12 years ago

I've added a pull request fixing wheat for node v0.6.0 in #38.

ghost commented 12 years ago

I am having this issue too

cronopio commented 12 years ago

Check you have "version": "0.2.4"

https://github.com/creationix/wheat/compare/03571...v0.2.4