Questions tagged as 'nodejs'

2
answers

Fill table in nodejs (jade) of an sql query

I have this query getAnalisisDetallado: function(req, res, next) { var config = require('.././database/config'); // connect to your database sql.connect(config, function(err) { if (err) console.log(err);...
asked by 21.06.2017 / 22:59
1
answer

"Like" counter without PHP? [closed]

I've been researching lately on this topic in specific and the truth, I have not come across anything or anything like what I'm looking for, I'm new to server programming, and therefore I'm giving myself the task of make a clean site without PHP...
asked by 19.06.2017 / 06:22
1
answer

Problem with Node RED

I am connecting an Arduino through MQTT to Node RED. This arduino sends me the following string "Temperature: 28.0". Then I have another plate that gets the humidity and dows it in the form of string "Humidity: 50". When receiving data by Node R...
asked by 05.06.2017 / 01:42
1
answer

With angle can I modify a file hosted on a server? Or do I have to implement something extra?

In case I want to modify the lines of a file on the server. Use Nodejs on the Back-end side     
asked by 11.05.2017 / 21:25
1
answer

Error installing ember cli in Nodejs [closed]

Someone knows why he will not let me install npm install -g ember-cli     
asked by 01.06.2017 / 14:38
1
answer

How to upload images to nodejs

I want to upload several images to my server nodejs that have additional information such as title and category , I tried sending the images in DataUrl but due to The limitations of POST does not allow me to upload more than 2 images at a t...
asked by 14.05.2017 / 22:55
1
answer

SQL - Update multiple columns in several rows of the same table

I work with NodeJS and SQLite , seeing my use of the I / O of the SSD disks on my Azure server (which were extremely high), I would like to make a serious optimization. My table has the following format: ID points...
asked by 18.04.2017 / 20:17
1
answer

Enter several links with Jade

Good morning, I would like to know how I can put several "links" with Jade, I am doing it in the following way: doctype html html(lang="es") head title Powergraph meta(charset="utf-8") link(href="https://maxcdn....
asked by 14.04.2017 / 09:10
2
answers

How can I place a WHERE statement on this query?

Query: SELECT 'i'.'name', 'i'.'id', 'i'.'img', 'd'.'url', GROUP_CONCAT(t.name SEPARATOR ', ') as tags FROM 'demos' i INNER JOIN 'details' d ON 'i'.'id' = 'd'.'demo_id' INNER JOIN tags t ON t.demo_id = i.id GROUP BY 'i'.'id' ORDER BY 'i'.'crea...
asked by 10.04.2017 / 18:22
2
answers

I can not run NodeJS

I have a fault in npm, the situation is as follows: I have installed NodeJS to work on a project in Angular , I installed LTS 6.10.3 and nmp 3.10.10 . I executed the following: node -v npm -v ... and when I give it npm -v...
asked by 08.05.2017 / 01:20