jsonresume / theme-manager

Theme server for JSON Resume
MIT License
166 stars 31 forks source link

502 bad gateway #5

Closed krrishd closed 10 years ago

krrishd commented 10 years ago

I recently was playing around with the themeing system, and even threw together a simple proof of concept here: http://github.com/krrishd/jsonresume-theme-real

I also published to the NPM registry: http://npmjs.org/package/jsonresume-theme-real

Despite this, when I visit http://themes.jsonresume.org/theme/real I get a 502 Bad Gateway

erming commented 10 years ago

I took a look at your repository and your NPM package: Your package version is set to 0.0.0. Try to bump it and then publish to NPM again.

erming commented 10 years ago

This is probably not the error causing the theme-manager to break, but when running server.js, there seems to be a file missing. I get this:

$ node server.js 
Error: Cannot find module './res'
krrishd commented 10 years ago

Yeah, that's just something I was using for development, your JSON resume file was supposed to be res.json but I hadn't documented that yet.

thomasdavis commented 10 years ago

The file that has to be run is index.js and when I do node index.js there is a syntax error, fix that and republish.

Your server.js should depend on index.js for testing purposes