Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 errors on all dynamic content #22

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

404 errors on all dynamic content #22

fatvine opened this issue Oct 17, 2010 · 3 comments

Comments

@fatvine
Copy link

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
Copy link

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
Copy link
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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants