Questions tagged as 'nodejs'

0
answers

Show data with Mongoose and NodeJS

I just started with this backend and I have some doubts. I have a Schema in Mongoose : const mongoose = require('./model'), Schema = mongoose.Schema, TeamSchema = new Schema({ _id : Schema.Types.ObjectId,...
asked by 10.11.2016 / 02:18
0
answers

I have problems installing weather on windows 10.1 last update

Console execution: Microsoft Windows [Versión 10.0.14393] (c) 2016 Microsoft Corporation. Todos los derechos reservados. C:\Users\jagal>meteor -v module.js:474 throw err; ^ Error: Cannot find module 'C:\Users\jagal\AppData\Roaming...
asked by 09.11.2016 / 19:31
0
answers

Error npm start [closed]

I'm trying to follow Codelab of excel de google , because I want to implement the API of google and it gives me the following error that I do not know how to solve it. C:\wamp\www\zona_proves\plugins\sheets-api-master\start...
asked by 12.09.2016 / 15:41
0
answers

How to compile for macOS Sierra in Electron?

I'm in Windows and compiled for OSX, but when I run the .app , it signals that the program is compiled for previous versions. The line that I used and that is in package.json is: "build": "electron-packager . MyApp --platform=darw...
asked by 05.10.2016 / 01:57
1
answer

Problems with NGINX and PHP

Hi, I'm working on a personal project, the subject is the following, the application itself is mounted in NodeJS by topics that I need to use Socket.io and the application connects with API REST in PHP CodeIgniter...
asked by 10.08.2016 / 22:11
0
answers

gulp-useref does not copy the files

I have a problem with gulp-useref. I have the next task. gulp.task('compre', ['inject'], function () { return gulp.src('index.html', {cwd: '/app'}) .pipe(useref()) .pipe(gulp.dest('dist')); }); I run inject without problem but...
asked by 22.07.2016 / 01:57
0
answers

Web mapping query in javascript and server query [closed]

I have a server from which I want to take atmospheric data: temperature, humidity and contamination. The idea is to represent these values in a map according to the area having several devices in different places and send the readings every cert...
asked by 05.07.2016 / 03:13
1
answer

I can not join two users to the same room with socket.io

I'm doing an app with express, mongoose, and socket.io. My intention is to make that when a user enters, he joins a room whose name is the name of the city with which he registered. The idea is that when a user A and B belong to the same city,...
asked by 10.05.2016 / 08:18
2
answers

How to concatenate a value with the ORDER BY? - Nodejs

What would be the correct way to concatenate the value that I have in the constant data in my MySQL query? The way I'm doing does not work. const data = req.body; req.getConnection((err, conn) => { conn.query('SELECT * FROM ordenar_usu...
asked by 02.11.2018 / 19:40
0
answers

I'm doing a typing dynamics project, I'm using svm (suport vector machine) and I do not know how to classify the variables

my PROBLEM is that I have many dynamic variables, the fixed text is for example "hello world of programming" then my variable is "typing time of each key" (it's just an example) // {a: 10,12,12,10} // {b: 3,2,12,4} // {c: 12,12,12,10} //{d:10,12...
asked by 16.09.2016 / 15:31