Questions tagged as 'nodejs'

1
answer

how to join with mysql + nodejs

I did this function to join between 2 tables but I think that is not the right way function insertarDatosToArchivos(){ objBD.query('SELECT ID_U from usuario', function(err, rows, fields) { for (var i = 0; i < rows.length; i++) {...
asked by 02.10.2016 / 04:01
1
answer

does the java Set data structure exist for nodejs?

I was investigating if there is any structure similar to Java SET, which does not allow duplicates in the collection. I need a structure like this to eliminate duplicates of a file I made this code but it inserts duplicates. > function...
asked by 10.10.2016 / 06:54
1
answer

How can I pass stylus variables from the main file to the imported one?

I'm doing a grid system with stylus. I have several files .styl with different mixins and functions but to simplify let's say that it is only one called grid.styl . A user who wants to use it would only have to create his own styl...
asked by 06.06.2016 / 10:25
2
answers

Error PATH? NODE NPM! install but can not find it when executing

Hi, I have a big problem with mac osX I have installed node 6.5.0; npm 3.10.3 and when installing any dependency such as bower, install it in a hidden folder on my desktop: The problem in the case of bower is that when wanting to...
asked by 14.09.2016 / 18:15
2
answers

Error with date format using sequelize and angular

I am developing an application in nodejs, angular and mysql. and it happens to me that when I save a date in the database with the date type and recover it with the sequelize it returns it to me in the following way "1991-04-13T00: 00: 00.000Z"...
asked by 01.03.2016 / 18:33
0
answers

Match user Schema with Client Schema on mongoose

good I am new working with node, and I am creating a user schema but I also have a client schema, and administrator, in the client schema (I leave the code below) I have the basic data like name, surname .. etc, and in the user's I have the emai...
asked by 02.01.2019 / 18:42
0
answers

Error with react-flip-card-2

I really do not know why it fails or what the error is. I've looked for several ways to solve it but I still can not do it, install the module react-flipcard-2 implemente, the cards rotate but after having rotated 2 letters it breaks and mar...
asked by 30.12.2018 / 19:31
0
answers

geojson for MultiPoint with mongodb and nodejs

I have defined this Scheme: let capaSchema = new Schema({ nombrecapa: { type: String, required: [true, 'El nombre de la capa es necesario'] }, descripcion: { type: String, required: [false] }, geojson: Object([ geoSchema ])...
asked by 27.12.2018 / 23:00
0
answers

You can not find the Get method in Node.JS

I have the following code on my Node.JS server that queries a database: if(response.context.rfc){ var valorRFC = response.context.rfc; connection.query('SELECT * FROM pruebas.Usuarios2 where RFC =...
asked by 27.12.2018 / 01:36
0
answers

Load balancer does not have available server for client

I am setting up a client in nodeJS with eureka using zuul for routing management Here I have a test of a service with express and the configuration of eureka nodejs link running on the Port 3001 const Eureka = require('eureka-js-cli...
asked by 26.12.2018 / 20:21