Closed Naoto-Ida closed 7 years ago
Thanks for reporting!
Are you sure you loaded the module with require('express-basic-auth')
? Can you add the full code snippet where you are calling app.use
and configuring express-basic-auth, so I can reproduce and fix it?
Closing for now, as the problem is not reproducable with the given information.
I'm getting the error
app.use() requires middleware functions
.