码迷,mamicode.com
首页 > 移动开发 > 详细

TypeError: Object function (req, res, next) { app.handle(req, res, next); } has no method 'configure'

时间:2016-09-27 11:45:49      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:

TypeError: Object function (req, res, next) { app.handle(req, res, next); } has no method ‘configure‘,这个问题好像是因为在version4.x中移除了express.configure()方法,你只需要重新将express版本返回version3.x版本即可

(执行指令npm install express@3.4.8)

 

文章参考地址:http://stackoverflow.com/questions/22265143/typeerror-object-function-req-res-next-app-handlereq-res-next-has

TypeError: Object function (req, res, next) { app.handle(req, res, next); } has no method 'configure'

标签:

原文地址:http://www.cnblogs.com/wj0816/p/5912138.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!