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

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

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

Comment

43


Popularity

10/10 Helpfulness
7/10
Language
go

Source: stackoverflow.com
Tags: function
go
got
middleware
requires
throw
Share

Link to this answer

Share

Excited Elk

Contributed on Mar 02 2020

Excited Elk

0 Answers  Avg Quality 2/10


Leave a Comment