I saw app.configure() was used in README.md and example/app.js. But in the latest version of Express (4.x), The configure function was removed.
https://expressjs.com/en/guide/migrating-4.html#other-changes
The app.configure() function has been removed. Use the process.env.NODE_ENV or app.get('env') function to detect the environment and configure the app accordingly.