Express Validator Cannot Show Error Mesages
问题 Hey guys I want to make an messaging system for my upload webpage. I use express-validator and connect-flash, express-messages app.js const { check, validationResult } = require('express-validator'); . . . app.post('/metin/ekle', [ // username must be an email check('baslik', 'Baslik Gereklidir').notEmpty(), // password must be at least 5 chars long check('konu','Konu gereklidir').notEmpty(), ],function(req, res){ const errors = validationResult(req); if (!errors.isEmpty()) { req.flash(