Ember CLI 0.0.37 API Stub Change
In the Ember-CLI changelog, there's this note:
[BREAKING ENHANCEMENT] Change the expected interface for the ./server/index.js file. It now receives the instantiated express server. #1097[BREAKING ENHANCEMENT] Change the expected interface for the ./server/index.js file. It now receives the instantiated express server. #1097
If you've upgraded from an older version, the existing server/index.js file isn't touched by the $ember init process, because the new init scaffolding doesn't create the API stub server by default anymore (if you're in a new project, you can generate it with $ember g api-stub <endpoint name>, which will scaffold the server/index.js, and server/routes/<endpoint name>.js files).
If you've got an existing project, and your API stub server has stopped working, you can run the same generator command, and it will prompt you to overwrite the server/index.js file. Choose "yes" (which is the default, so you can just hit enter), and it should get you back up and running.