Questions tagged as 'nodejs'

0
answers

Microsoft / Botbuilder for NodeJS: Bind URL Parameters to bot session

SDK Reference: link SDK Platform: Node.js SDK Version: 3.14.0 Description Hello! Several days ago I have been investigating this issue without finding an answer. I would like to know if there is any way to read URL parameters fro...
asked by 16.03.2018 / 19:59
1
answer

Node mssql Error: "Connection is closed" when I run several queries at the same time

It turns out that I'm using Node and SQLServer and angular, when I make a query, I do not get any error, the detail is when for example I enter a form and I want to load data as types of ID, user types, ect . In which I call a query for each one...
asked by 16.03.2018 / 21:22
1
answer

DELETE Not Found with Postman in APIREST NodeJs with Mongo and Mongosoe

How about classmates? I'm working on an api rest with NodeJs, MongoDB and Mongoose, but when implementing DELETE by Id, the postman sends me an error      Cannont DELETE /api/product/5aae8f9df40f3924a4b984f In the status of the Postman sends a 4...
asked by 18.03.2018 / 21:24
0
answers

Problem with CSP style-src in production

Good afternoon I have a page created with Angular Cli and Node.Js, the problem is that in local the page sends correctly the headers of Content-Security-Policy in style-src 'unsafe-inline' but at the time of moving this to a server gives error....
asked by 19.03.2018 / 20:31
1
answer

Advance video by dragging the click

I'm making an application on ElectronJS, the idea is to have a video paused, and that by dragging the mouse on it, this progress ... The same can be done by capturing the ondrag event, and increasing the currentTime of the video. The problem is...
asked by 12.03.2018 / 15:52
0
answers

Error with Gmail API "SyntaxError: Unexpected end of JSON input"

I want to use the Gmail API for a project in Node.js 1-I have an Ubuntu server on which I ran the following exercise link , it worked for me without problems. 2-I wanted to do the same exercise (create another project in google with other...
asked by 09.03.2018 / 22:38
0
answers

I can not install oracledb on nodeJs 7 - w7 x64

I execute the command: npm install oracle/node-oracledb.git#v2.1.2 link: Official node-oracledb page And I receive the following messages: > [email protected] install C:\Users\sti\Documents\Softten\qusar-prueba-backup\node_modules\...
asked by 09.03.2018 / 19:36
1
answer

trying to raise the server with nodemon, I get this error

$ npm run nodemon [email protected] nodemon /home/alforhanz/MisProyectos/tesis_bdup nodemon ./bin/www [nodemon] 1.17.1 [nodemon] to restart at any time, enter 'rs' [nodemon] watching: *.* [nodemon] starting 'node ./bin/www' sequelize deprecated...
asked by 11.03.2018 / 18:11
0
answers

JSON problem with request NodeJS

Hi, I am working with nodejs to create my own API, but to do so I ask for the data of another API const router = require('express').Router(); const request = require('request'); router.get('/randomUser',(req, res) => { request('https:/...
asked by 08.03.2018 / 15:15
0
answers

Failed to lookup path nodejs

I am new with Node JS and I have a lot of doubts, now I try to create my own static files for the server, this is my file structure -ship.io -node_modules -public -api -css -images -js -vi...
asked by 16.03.2018 / 00:07