const { check, validationResult } = require('express-validator/check'); // or: const check = require('express-validator/check').check; const validationResult = require('express-validator/check').validationResult;