![TypeError: Router.use() requires a middleware function but got a Object - How to fix this Express/Node.js error? - Poopcode TypeError: Router.use() requires a middleware function but got a Object - How to fix this Express/Node.js error? - Poopcode](https://i0.wp.com/poopcode.com/wp-content/uploads/2020/08/image-9.png?resize=350%2C200&ssl=1)
TypeError: Router.use() requires a middleware function but got a Object - How to fix this Express/Node.js error? - Poopcode
TypeError('Router.use() requires a middleware function but got a ' + gettype(fn)) · Issue #3838 · expressjs/express · GitHub
TypeError: Router.use() requires middleware function but got a Object · Issue #22 · ForestAdmin/lumber · GitHub
Set Up Authentication Middleware - Go Full-Stack With Node.js, Express, and MongoDB - OpenClassrooms
TypeError: Router.use() requires middleware function but got a Object · Issue #22 · ForestAdmin/lumber · GitHub
![javascript - Api : Express : throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn)) - Stack Overflow javascript - 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)
javascript - Api : Express : throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn)) - Stack Overflow
![TIL D-09 throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn)) TIL D-09 throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))](https://img1.daumcdn.net/thumb/C176x176/?fname=https://k.kakaocdn.net/dn/ucz7Z/btqAQkJwKGc/NdSLHO5LA6oTlmZcd4j3yK/img.png)