"validationResult is not a function" t with version "6.1.1"

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"

2 Likes

Hey, can you post the contents of your package.json?

3 Likes

thanks, solved

3 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.