Questions tagged as 'nodejs'

0
answers

Problem with node js

I have a problem installing express in a project and the following warning appears: $ npm install express npm WARN saveError ENOENT: no such file or directory, open'C:\nodeprojects\panolsoft\package.json' npm WARN enoent ENOENT: no such file...
asked by 04.12.2017 / 23:33
0
answers

I can not access my api in ExpressJS since Angular generates me errors in which no route concurs

When I access the URL to my Api: Angular service: import { Injectable } from '@angular/core'; import { Code } from './home/Code'; import { Observable } from 'rxjs/Observable'; import { of } from 'rxjs/observable/of'; import { catc...
asked by 01.12.2017 / 19:29
0
answers

Send events with SokcetIO and NodeJS

I have a / index path in which I have the following script socket.on('m',function(){ console.log('hola mundo') }) on the route / two I have $('#btn-send').click(function(){ socket.emit('hola') } both have the connect, and the...
asked by 21.11.2017 / 22:12
0
answers

Retrieve table data DynamoDB

I am trying to recover data from a DynamoDB table that meet 3 conditions (that is, the parameters match with 3 attributes that I give it). I work with Nodejs, DynamoDB and Dynamoose. If I do it with just one parameter everything works perf...
asked by 15.11.2017 / 18:57
0
answers

Error in gulp "throw er; // Unhandled 'error' event "

Some idea of how to solve this problem. I have my gulp code: var gulp = require('gulp'); var shell = require('gulp-shell'); var uglify = require('gulp-uglify'); var browserify = require('gulp-browserify'); var livereload = require('gulp-live...
asked by 14.11.2017 / 00:03
1
answer

Sending emails with nodemailer, nodejs

I am trying to send emails through nodemailer and a simple application. Somehow, when trying to post to the server, it seems that a connection error leaks, but I can not know what exactly happens. This is the code; router.post ('/ sendmail', fun...
asked by 11.11.2017 / 22:37
0
answers

Nodejs + mongodb Do find in different collections at the same time

Good, I am doing an application that to make a "traking" of how a process goes, I have made 3 collections: pending, processing, finished. The first question is: is there a function to move data from one collection to another? What I do now is...
asked by 21.11.2017 / 12:55
1
answer

Use autocomplete of jquery UI in nodejs

I am developing a web application in Node.js using the express framework and as an Oracle 10g database. I am using the Oracle module for Node.js and a PHP example guide, I tried to emulate the example to Node but I still can not get the resul...
asked by 27.10.2017 / 22:00
1
answer

File js on vpn server

I have a dilemma, I'm working a char with sokect.io this is my .js let express = require('express') let app = express(); let http = require('http'); let server = http.Server(app); let socketIO = require('socket.io'); let io = socketIO(server...
asked by 03.11.2017 / 16:23
0
answers

Model does not pass JSON to route

My model now works but the JSON does not pass well to the router Model: const USER = module.exports = dynamoose.model('Usuarios', USER_SCHEMA); module.exports.getUserByUsername = function (user, callback) { var docClient = new AWS.Dynamo...
asked by 03.11.2017 / 03:11