Questions tagged as 'node.js'

0
answers

ERR_SSL_PROTOCOL_ERROR - Socket.io and Node.js

I'm running a Node.js server using Socket.io to manage connections via Socket, however, I'm having a problem with SSL certificates. Most users can access the Node.js server normally, but others can not and do not get the following error:...
asked by 29.08.2016 / 20:48
1
answer

NodeJS replace windows terminal window

I remember that I installed NodeJS on a windows machine and the terminal window (Command Prompt) was replaced with a fullscreen window. If I was not mistaken I had an option during the installation. I recently installed NodeJS v4.6.0 an...
asked by 29.09.2016 / 19:39
2
answers

DELETE method using href - NodeJS

I'm loading some information from the database and one of the columns will be a link that will delete an information. Being on a table, the href of the link looks like this: href="#">#
asked by 30.09.2016 / 19:20
0
answers

NodeJS application startup problem in UOL Hosting

Galera, I'm running my application running 100% on my local machine, but when I upload the files to my Node hosting on UOL HOST it does not work on startup. I'm using the same version of the UOL node (4.4.5). The error you have in nodejs....
asked by 14.08.2016 / 07:51
1
answer

Help with mongoose

Not understanding what happened: ready = function() { groups = mongoose.model('groups', schemas.group); groups.find({}, function(err, docs){ for(i in docs){ console.log(docs[i].name); } return docs; }); } console.log(r...
asked by 19.03.2016 / 05:28
1
answer

Nodejs Processes

I would like to know how to get all processes with nodejs equal to C # Process[] processlist = Process.GetProcesses(); I would like to do this in NODEJS, to return all the PIDs of the computer, not just the nodejs     
asked by 07.08.2016 / 19:34
1
answer

Configure Nginx for multiple Socket.IO servers

The idea here is to decentralize, do a load balancing . In the following scenario: .1 a website serving multiple subdomains with Nginx .2 two or more servers nodejs running socket.io My need with nodejs i...
asked by 07.09.2016 / 11:22
0
answers

Report Jode Node with java via socket

I would like to ask a question on how to communicate 2 servers, one being nodejs and another being java. I would like to pass json information between the 2 using socket support. I was able to send a java information to the node and receiv...
asked by 09.08.2016 / 14:50
1
answer

Loading modules into a single file slows down app performance?

My project has several modules, if I load them all into a file - modulos.js -, am I lowering the performance of the app? ex: file that loads modules (modulos.js): exports.var1 = require("...") exports.var2 = require("...") File 1:...
asked by 20.08.2016 / 19:57
1
answer

Passport-local and Passport always returns false

I'm using Passport and Passport-local to authenticate with Nodejs, however, the req.isAuthenticated method always returns me false, does not even serialize when I log in. I have tried to put a req.logIn () but then it gives me another error: se...
asked by 19.08.2016 / 00:33