visionmedia/express — Issue #1032: Generated app doesn't work with "npm start" command
Author: topfunky
Created: 2012-02-29 22:09:50+00:00
State: open

A new express application generated with "express MyApp" generates an "app.js" file.

NPM expects to see a file named "server.js" for use with the "npm start" command.

Is there a reason that express uses a different filename? Changing the generated filename to "server.js" would make it easier for people to get started with express and npm.

Express 2.5.8, NPM 1.1.1