Questions tagged as 'node.js'

0
answers

Monitor external HTTP requests within the page

Good morning, gentlemen. Can I track requests for a page? I say: All the files that are called, example: Css, Js, img, video, mp3, iframe ... Any request HTTP .     
asked by 24.06.2016 / 15:03
1
answer

access port problem on node.js

I'm trying to learn about angular2, and I'm encountering this problem. when I type: "live-server" I get this error below: live-server Error: listen EACCES 0.0.0.0:8080 I try to enter the command to change the port: node-inspector --web-port...
asked by 25.06.2016 / 14:46
1
answer

bot telegram using node.js ending the message sending

Hello, I am doing a service to alert me of possible errors that may occur on my server, my doubt is, after I send the message how do I end the execution or the way it is presented in the image below is normal? end the task I have to give a ctrl...
asked by 17.06.2016 / 15:39
1
answer

node.js conflicts: / sbin / node vs / usr / bin / node

Good morning everyone! I would like someone to explain to me very well this conflict that arises when installing nodejs? Thank you!     
asked by 03.06.2016 / 08:50
1
answer

Create "DAEMON" Service on Linux?

I'm developing an application with Node.js and would like to create a daemon to launch it automatically. I'm using RASPBERRY PI . Does anyone have an idea?     
asked by 08.06.2016 / 16:56
1
answer

How to do a findOneAndUpdate in an array inside another array with Mongoose

I'm a beginner in Mongoose, I would like to make a change ( findOneAndUpdate ) in the second array address in the city field, I tried everything I knew and thank no one that can help. { _id: "573c5ed236c156cc2351d1ea", tit...
asked by 19.05.2016 / 20:48
1
answer

Query with ForEach and Subquery Node JS and MSSQL

I have a problem that I have not found a solution yet, I have a select in a procedure, I do a forEach in the result, inside that forEach I make another select in another procedure using the Ids as per the code below. The problem is that at the...
asked by 17.05.2016 / 18:41
0
answers

Is there a socket.io event that activates when the client's internet is slow?

Hello. I'm in a project on nodejs + socket.io, I'm in big trouble, regarding slow internet client, I need to know if inside socket.io there is some kind of event // If the client's internet is slow it activates this function socket.event('i...
asked by 10.06.2016 / 22:03
1
answer
___
I'm having a problem with PM2 and it's already happened to someone. I start in some applications and they usually appear in the list when I run pm2 list. But after a few days the applications disappear from the pm2 list. They keep working, bu...
asked by 07.06.2016 / 19:55
0
answers

How to do two different serialize and deserialize methods on node js, with passport?

I have two different user types in my application. I was able to log in to one of the two users using the passport with serialize and deserialize. The problem is when I am going to make the second login, because there is no way to modify the...
asked by 06.05.2016 / 15:40