Questions tagged as 'node.js'

0
answers

ics event is not appearing as it should (using nodemailer / icalEvent)

event creation with ics library let event = { start: [schedule.start.getFullYear(), schedule.start.getMonth() + 1, schedule.start.getDate(), schedule.start.getHours(), schedule.start.getMinutes()], duration: { hours: schedule.duration...
asked by 06.04.2018 / 18:03
0
answers

How to close a modalPanel of the Atom IDE

I'm developing an Atom pro package, and I'm not able to find how to close modal. The situation is as follows, I have a request outside the View class: funtion set_note() { $.ajax({ type: "POST", url: "http://127.0.0.1:8000/ap...
asked by 31.03.2018 / 01:38
1
answer

No ionic-lab error

I am making an app, but when I use ionic-lab or I access the ionic-lab by the browser it exits an error message and for the server, I have already looked for a lot of the internet, a href="https://i.stack.imgur.com/eG5S5.png">     
asked by 29.03.2018 / 17:06
0
answers

Can not create property

I have an error and I do not know what it is, can anyone help me? the code: const id = parseInt(req.body.id); connection.query('INSERT INTO carroceria (descricao) VALUES(?)',[descricao], function(err, result){ if(err) throw err;...
asked by 28.03.2018 / 16:04
0
answers

Api node can not communicate with bank in docker

I have to do deploy of a software, I have WEB where FRONT , APISEG authentication and security of the software, API that makes all operations and the BANK with a sql server 2017 bank. Every project was developed with angular and...
asked by 04.04.2018 / 14:20
0
answers

Error when showing user name (NodeJS)

I'm starting now in the world of Javascript and NodeJS and in that, when I was doing a mini-chat I came across the following error: At the time of printing the user name, after he uses the '/ nickname' command he leaves the name as empty "", and...
asked by 26.03.2018 / 00:56
0
answers

Mongoose I can not use attribute ref as parameter in find;

I have the following schemas: const livroSchema = new Schema({ nome: { type: String, required: true }, editora: { type: String, required: true }, autor: [{ type: String }], categoria: [{ type: String }],...
asked by 24.03.2018 / 06:52
0
answers

How to control the number of Oracle queries in Node.JS?

In my project, a query is first performed on a database A, which returns the data of the invoices released the previous day (expiration, issuance, value, customer enrollment ...). By using the .map () function in the result, a query is made i...
asked by 22.03.2018 / 13:45
1
answer

MongoDB on the air at AWS

I need a help, I did not find anything practical and accurate in google, I have a node backend and using mongoose, and I can run locally quietly, because in CMD I execute the command 'mongod', and my mongo local is in the air, and I connect by c...
asked by 22.03.2018 / 14:50
0
answers

Failed to generate Electron build

I'm using the electron-builder to generate a linux installer. Through the travis service I integrated my project with bintray so that the build was sent to it, but I can not execute the project build for linux. I am using windows 10 and through...
asked by 23.03.2018 / 18:07