Monday, October 24, 2022

TypeError('Router.use() requires a middleware function

throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))

Check module.exports = ...

No comments:

Post a Comment