感谢回复。
Express3.x
app.configure('development’, function(){
app.use(express.errorHandler());
app.locals.pretty = true;
});
Express 2.x
app.configure('development’, function(){
app.use(express.errorHandler());
app.set('view options’, { pretty: true });
});
express 3 已取消了 view options