The code in your screenshot-app was written back in the Express 3 days. It doesn't work with Express 4 in its current form due to a number of changes. I have fixed these issues and tested them to ensure everything runs now. I made the required minimal adaptations to make it run under the latest version of Express. Only 2 files required modification.
First app.js no longer has the app.configure( ... ) syntax to accommodate the removal of the configure method in express.
Finally, Express no longer has built-in middleware for errorHandling and logging. I simply required them in and used the modules using the new style. These modules were added to package.json to make everything work cleanly.
Requesting that you accept this pull request to keep your repo current.
Hi tj,
The code in your screenshot-app was written back in the Express 3 days. It doesn't work with Express 4 in its current form due to a number of changes. I have fixed these issues and tested them to ensure everything runs now. I made the required minimal adaptations to make it run under the latest version of Express. Only 2 files required modification.
Requesting that you accept this pull request to keep your repo current.
Thanks,
Jclosure