可能出现的问题是什么?
这是代码:/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.');
}
}
这是我的app.js代码