I am getting this error when i load my nodejs on my browser
what is the possible problem?
this is the code : on /var/nodejs_conference/node_modules/express/lib/view.js
function View(name, options) {
var opts = options || {};
this.defaultEngine = opts.defaultEngine;
this.ext = extname(name);
this.name = name;
this.root = opts.root;
if (!this.ext && !this.defaultEngine) {
throw new Error('No default engine was specified and no extension was provided.');
}
}
this is my app.js code