Debugging a total failure of a Hello World node.js demo!

Play Debugging a total failure of a Hello World node.js demo!

The Discussion

  • User profile image

    I think the problem actually wasn't the missing server.js. If you look carefully, the last commit deleted *2* files and also changed one. I'm would guess there lies the key...

  • User profile image

    Windows Azure Web Sites adds a web.config to your deployment which wires up iisnode to look for server.js. Your express package was saying that your application start file was app.js

    another way to fix this would be to modify the web.config to point to app.js, this way if server.js was still required for your application to run iisnode would use app.js as your application entry point and server.js could still be referenced from your code.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.