Hi, I'm trying to upload a file, in my case it will mostly be an image or images in a director of my backend made in nodejs, then I leave the code of the function that subverts the image with formidable :
router.post('/uploadImage', (request...
I'm doing a web page with angle and nodejs , I want the workers that register have the option to save a profile picture, then I have a form of angular (ngForm) and such and I have put an input file for the upload, up there well.
On the fr...
I have the following problem: I have an api in nodeJS V10.14, I'm hosting it in heroku, at first everything was fine, but a day ago I deployed and gave me the following error (heroku log):
in the index.js file I have the following....
I'm using nodemailer to send emails, and email-template-v2 to send an HTML format, my purpose is to send some variables as a reference, payment and currency by email, but I really do not know how, I did not like to show it in my template .hbs, i...
I have an array of stores which by promises I try to obtain the schedule of each, but in some cases I get the following error:
UnhandledPromiseRejectionWarning: TypeError: Can not read property
'length' of undefined
at control_home...
Good morning I have a bad request error in the PayPal SDK this is the json of the payment;
var create_payment_json = {
intent: "sale",
payer: {
payment_method: "paypal"
},
redirect_urls: {
return_url: "http://lo...
Good morning I need to pass parameters to my an Express app.get function from a res.render. The truth is the first time that occurs to me and I have no idea how to do it.
In this line of code should pass a parameter;
'res.render("usuarios",...
good morning.
I have the following collection in mongoDb:
{
"signupDate": "2018-11-22T19:14:02.047Z",
"_id": "5bf700269e5b59276885eda5",
"userName": "pruebas",
"email": "[email protected]",
"password": "abc1234",
"interests": "{\"followEmai...