throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
By Tony Turcotte at Mar 01 2020