Questions tagged as 'node.js'

0
answers

Search module optimized for nodeJS and sequelize

I am looking for a search module to integrate into my application to perform database queries for a 'Help Center' system. As I'm using Sequelize, you should have some module in the NPM repository that is integrated with this application for e...
asked by 30.07.2018 / 23:39
0
answers

Use promise in uploading files in Angular and Node.js

Good afternoon guys, I have a registration form in homologation, but when I upload an image and a pdf file at first my request returns me that I did not fill in all the data, but then this request returns me that the user has been registered....
asked by 30.07.2018 / 22:01
0
answers

Handlebars does not render

I have an api on Node and the front in vue. I need to generate some pdf files in the back but the handlebars does not render past information. Just the static html that is already there. const puppeteer = require('puppeteer'); const fs = requi...
asked by 30.07.2018 / 23:22
1
answer

CORB / CORS error requesting google api

I have an ionic-angled design with server developed in nodejs. I'm trying to do a user authentication by sending a request to google api through the Passport framework using Google-Strategy . When you make the request, the following error o...
asked by 31.07.2018 / 02:49
0
answers

Import mongoose object list

I'm trying to save data from a csv file in mongoDB, using mongoose. I need to read row by line, generate an object from that row and supplement it with other data, which comes from the user login session. To work with the csv file, I'm usi...
asked by 26.07.2018 / 16:19
0
answers

TypeError: Path must be a string

This error appears to me when I try to do UPDATE in my MySQL DB. The error only appears on this page, in the other one that also does UPDATE (different tables) not from any error. TypeError: Path must be a string. Received { id_ponto: '3', i...
asked by 26.07.2018 / 20:12
0
answers

Return data of another component

I have the following problem, I create the user and add the same in a course. I just can not return the course name on the user page. The course is added via select input, sending only the ID of the course. When I return via {{user.curso}}...
asked by 23.07.2018 / 17:53
0
answers

TypeError: callback is not a function

I'm doing two queries from bd and I want to move to the page but give this error:    TypeError: callback is not a function The code part is this: connection.query('SELECT * FROM marca;SELECT * FROM tipo', function(err, results, fie...
asked by 23.07.2018 / 17:59
1
answer

events.js: 72 error - Error running my first global app with express

I did the global express installation on Ubuntu (and my Mac too) using npm install -g express Then I created my app using the command: express -se hello_express I went into the application directory and typed: npm install When I...
asked by 18.02.2014 / 15:34
0
answers

Authentication service in NodeJS?

I need to develop an authentication service in NodeJS for a micro services application, however, I do not even know where to start. I have read a material about oauth2 , passport.js and related, but from what I understand, they use google ,...
asked by 22.07.2018 / 05:36