431480
学习到中间件connect时,提到他自带了两个模块 一个是logger 这个我上网搜索到已经分出改成morgan模块 那么另外一个是favicon,现在报错如下 TypeError: connect.favicon is not a function at Object. (/Users/johnny/Downloads/code/6/http.js:5:26) at Module._compile (module.js:660:30) at Object.Module._extensions..js (module.js:671:10) at Module.load (module.js:573:32) at tryModuleLoad (module.js:513:12) at Function.Module._load (module.js:505:3) at Function.Module.runMain (module.js:701:10) at startup (bootstrap_node.js:193:16) at bootstrap_node.js:617:3 johnnydeMacBook-Air:6 johnny$ 有木有大神告诉我 是什么原因...懵逼中额么么么