404 errors on all dynamic content #22

Open
fatvine opened this Issue Oct 17, 2010 · 3 comments

Projects

None yet

3 participants

@fatvine
fatvine commented Oct 17, 2010

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.

@srid
srid commented Nov 21, 2010

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.

@creationix
Owner

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.

@srid
srid commented Nov 22, 2010

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

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