首页 > 移动平台 > 详细

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

时间:2016-09-27 11:43:14      阅读:208      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!