add fs module import in templates/mvc/app.js
update bodyParser.urlencoded to not throw warning