Fermé

NodeJS Express Help?

I am needing some help with express-validator and connect-flash

My current code in my post controller has [url removed, login to view]('error', errors) the error messages work but are just showing [object Object] instead of the actual message, I can do a [url removed, login to view](errors) and I get the JSON message for the error, but I want it to display just the msg itself, this is the code:

[url removed, login to view] = (req, res, next) => {

[url removed, login to view]('password', 'Password must be at least 4 characters long').len(4);

[url removed, login to view]('confirmPassword', 'Passwords do not match').equals([url removed, login to view]);

const errors = [url removed, login to view]();

if (errors) {

[url removed, login to view]('error', errors);

return [url removed, login to view]('/editaccount');

}

and this is what is looks like froma [url removed, login to view](errors) for the first error:

[{"param":"password","msg":"Password must be at least 4 characters long","value":""}]

Compétences : Express JS, Javascript, JSON, node.js, Architecture Logicielle

Voir plus : essay help academic writing express awe tutoring melbourne cbd services for hire language tutoring, nodejs mongodb express javascript angular, php registration form passwords match ajax, passwords match afreelancer , getafreelancer passwords match, quark express help page layout, drupal easy website build, alibaba website build, handicapping website build service design, joomla commerce website build, full website build, copy exitsing website build site, drag drop website build bracelet, teacher rating website build, bid website build, common questions freelance website build, website build bid, poker website build, website design help translate english spanish, joomla help custom module, facebook pop answers help, help updating website, access assignment help, magento quickbooks help, express checkout asp website

Concernant l'employeur :
( 9 commentaires ) Donnelly, United States

N° du projet : #13067689

11 freelancers are bidding on average $29 for this job

arifjaunpur

Hello, I am Sr. web developer have strong debugging and coding skills. I am full stack developer with good knowledge of Java, JavaScript, MySQL, MongoDB, NodeJS, ExpressJS, AngularJS, JQuery, HTML, Bootstrap, etc. Plus

30 $ USD en 1 jour
(84 Commentaires)
6.5
flyingFreeJin

How are you. I can make sense for your need, set json value in [url removed, login to view]() I can help you with my experiences. Thanks.

35 $ USD en 0 jours
(39 Commentaires)
6.2
A2Design

Hi, Nice project you have there, let us help you with it! Our team is Russian-Canadian. We code in PHP. Check our recent projects here [url removed, login to view] Here’s a little video about our team too! ht Plus

30 $ USD en 1 jour
(24 Commentaires)
6.7
24 $ USD en 1 jour
(29 Commentaires)
6.0
shafayat1039

Hi, I am Shafayat, I am an M.E.A.N. stack developer. I believe I am one of the best candidates for this job. If you have a minute I would request you to send me a message so we can discuss further specifications :) Plus

55 $ USD en 1 jour
(6 Commentaires)
4.7
NareshBhadresha

hello, This is a very easy bug for me... I can solve it in minutes... You can see my profile, I have experience with node, angular, express... Thank you

10 $ USD en 1 jour
(7 Commentaires)
3.2
beanstalkapps

I am a motivated, individual software programmer from Pune, India. I work in a reputed software organization and specialize in JavaScript/HTML/CSS/[url removed, login to view] and have worked on several projects end to end.

30 $ USD en 2 jours
(1 Commentaire)
2.4
35 $ USD en 1 jour
(0 Commentaires)
0.0
25 $ USD en 1 jour
(0 Commentaires)
0.0
kumbhanialex

A proposal has not yet been provided

30 $ USD en 1 jour
(0 Commentaires)
0.0
natigiat

i can help you with that

15 $ USD en 1 jour
(0 Commentaires)
0.0