creationix / howtonode.org

This repo contains the actual articles for HowToNode.org

Home Page:http://howtonode.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

404 errors on all dynamic content

fatvine opened this issue · comments

I've installed wheat using npm, and cloned this git repo, but when I start the wheat server (using spark) I get 404 errors for all content not found in the skin/public folder -- I can get static files served, but all other content returns a pretty sparse 404 error. I'd be happy to provide more details, but don't actually know what to look for at this point; a brief glance through a few of the source files didn't lead me to any glaring errors I'd made.

I had the same problem. You need to run git pack-refs to create the .git/pack-refs file. Of course, ideally Wheat should be throwing a 500, not 404.

To reproduce, simply delete .git/pack-refs and re-run Spark.

Someday I hope to rewrite wheat to actually be stable. I never expected other people to want to use it for their own projects. I merely shared the code because that's just what I do.

That said, I welcome patches to wheat itself. It's not under CLA like connect and spark.

I'm playing with node.js / websocket these days -- will look into contributing a patch to this during my free time this week.