Full Stack Development with MEAN book - Node.js server does not run, app.js does not launch

I have exactly the same issue as dzeller. I know my code is correct. Opening the app.js file from the console, I get this error
Script: F:\app.js
Line: 1
Char: 1
Error: Object expected
Code: 800A1318F
Source:Microsoft JScript runtime error

I have tried the same by placing the .js file with in the Node folder and get the same issue.