Answer the question
In order to leave comments, you need to log in
How to fix expressValidator is not a function error?
The following lines cause an error:
var expressValidator = require('express-validator');
app.use(expressValidator());
Error: TypeError: expressValidator is not a function
Please help me with this error. express and express-validator I connected, but still an error.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question