Is there any way to avoid below errors with out installing version “5.3.1”
const {check,validationResult } = require(‘express-validator’);
let errors = validationResult(req);
i got the error: validationResult is not a function"
Is there any way to avoid below errors with out installing version “5.3.1”
const {check,validationResult } = require(‘express-validator’);
let errors = validationResult(req);
i got the error: validationResult is not a function"
Hey, can you post the contents of your package.json
?
thanks, solved
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.