![TypeError: Router.use() requires middleware function but got a Object | Express Node JS Error Solved - YouTube TypeError: Router.use() requires middleware function but got a Object | Express Node JS Error Solved - YouTube](https://i.ytimg.com/vi/EThPyix2zyU/hqdefault.jpg)
TypeError: Router.use() requires middleware function but got a Object | Express Node JS Error Solved - YouTube
TypeError: Router.use() requires middleware function but got a Object · Issue #22 · ForestAdmin/lumber · GitHub
TypeError: Router.use() requires middleware function but got a Object · Issue #22 · ForestAdmin/lumber · GitHub
![Api : Express : throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn)) - Stack Overflow Api : Express : throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn)) - Stack Overflow](https://i.stack.imgur.com/XHJYX.png)