TypeError: Cannot read property 'apply' of undefined #1

dantrevino opened this Issue Apr 16, 2010 · 3 comments

2 participants


dan@entropy:~$ wheat projects/howtonode.org/
Starting wheat server using git repo at projects/howtonode.org/
node-router server instance at - - [Fri, 16 Apr 2010 01:48:10 GMT] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0"
TypeError: Cannot read property 'apply' of undefined
at ServerResponse.end (/home/dan/.node_libraries/wheat/node-router.js:54:5)
at Function.responder (/home/dan/.node_libraries/wheat.js:668:18)
at Function. (/home/dan/.node_libraries/wheat/git.js:91:23)
at next (/home/dan/.node_libraries/wheat/step.js:49:23)
at Function.buildHeaders (/home/dan/.node_libraries/wheat.js:475:11)
at next (/home/dan/.node_libraries/wheat/step.js:49:23)
at Step (/home/dan/.node_libraries/wheat/step.js:90:3)
at postProcess (/home/dan/.node_libraries/wheat.js:446:5)
at Function.callPostProcess (/home/dan/.node_libraries/wheat.js:513:11)
at Function.next (/home/dan/.node_libraries/wheat/step.js:49:23)


Not sure what to say, are you on node v0.1.90 or newer? Have you modified the code in wheat in any way?


I thought i was running 1.9... apparently i was running 1.3xx ... upgrading fixed the issue ... once again... thanks!

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