Problem with Node 0.6? #36

Open
sanbor opened this Issue Nov 6, 2011 · 4 comments

Comments

Projects
None yet
3 participants

sanbor commented Nov 6, 2011

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 Nov 9, 2011

yes, here the unshift() method deprecated on 0.6

@TooTallNate TooTallNate referenced this issue Nov 9, 2011

Closed

0.6.x compat #38

Contributor

TooTallNate commented Nov 9, 2011

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

@ghost

ghost commented Dec 13, 2011

I am having this issue too

Check you have "version": "0.2.4"

03571...v0.2.4

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