app.use(express.router(routes));
^
TypeError: Object function createApplication() {
var app = connect();
utils.merge(app, proto);
app.request = { __proto__: req, app: app };
app.response = { __proto__: res, app: app };
app.init();
return app;
} has no method 'router'
回复 (2)
M
应该是express().router吧
B
参与回复
登录后即可参与回复。登录