Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications.
-4
votes
0answers
20 views
Could not load the bindings file. Tried: [closed]
I'm trying to running Ubuntu 13.04. Could not load the bindings file. Tried:
0
votes
0answers
5 views
Mongoose (mongodb) batch insert?
Does Mongoose v3.6+ support batch inserts now? I've searched for a few minutes but anything matching this query is a couple of years old and the answer was an unequivocal no.
0
votes
0answers
11 views
how to judge mongodb already opened in nodejs?
I try to open a mongodb connect,do sth then close it.
but if i refresh quickly like press on F5, a error will appear.
throw new Error("db object already connection,open cannot be called multi")
...
0
votes
0answers
5 views
Building Dynamic Querys Mongoose nodejs
Good afternoon, I have a small nodejs app that takes string and splits it into a array of keywords. I want to query a mongodb collection using mongoose. Here is what I'm looking for but in SQL format. ...
1
vote
0answers
13 views
Node js 0.10.7: cluster support for udp dgram?
I'm trying to run following node js application as mentioned https://github.com/joyent/node/issues/2194
var util = require("util"),
dgram = require("dgram"),
cluster = require('cluster');
var ...
-4
votes
0answers
15 views
Create poker game using socket for cross-plateform
Bonjour all !
I want to build a Poker game using socket.
I would like to create a cross-plateform game (iPhone/iPad/Android/Mac/W8...)
To do this a should build a Game Server that handle ...
0
votes
0answers
10 views
mongodb, finding by coordinate + query
I'm building a web application over Node.js and MongoDB which is based on geolocated points.
The document is something like this:
{ name: ""
keywords: [Array of strings]
location: {lng: double, lat: ...
0
votes
0answers
18 views
Get last inserted id Sequelize
I'm using Sequelize and I'm trying to get the last inserted ID in raw query.
My query is
.query(Sequelize.Utils.format(["insert into MyTable (field1, field2) values (?,?)", val1, val2])
The query ...
0
votes
1answer
16 views
WebRTC, JS, node.js App working locally through remote server but not different connections
I have recently started to look at inter-browsers communications, and got paricularly interested in webRTC. I am trying at the moment to build a file transfer through a Data Channel with the beginner ...
-4
votes
1answer
33 views
node.js equivalent of $_server['query_string'] [duplicate]
What is node.js equivalent of
$_SERVER['QUERY_STRING']
and also to put it in:
list($a,$b,$c ...) = explode('/', $_SERVER['QUERY_STRING']);
1
vote
2answers
23 views
Node,express,jade rendered pages doesn't data-bind with knockout.js
I'm running a Node server with express which renders jade. I'm trying to make my client side use knockout.js but the view never updates... I don't get any errors in the console and I just can't figure ...
1
vote
1answer
28 views
Memory leaks in nodejs websocket server
I'm using websockets to transfer video files, this means they are large files.
The server side (and also the client side) is implemented using nodejs, with binaryjs in javascript.
It worked fine, ...
0
votes
0answers
23 views
Underscore with nodejs and forever
I have a nodejs app and a module in a /lib folder that requires underscore. When I run nodejs, everything works fine but when I try to use forever with this command: NODE_ENV=production forever start ...
0
votes
1answer
9 views
Client can only emit once and “force new connection” duplicates the response.
my client side can only emit once and "force new connection" duplicates the response back to my client. here's my code so you can look it up.
server.js
var app = require('http').createServer()
, io ...
0
votes
0answers
14 views
Mongoose find last ten entries in database
I am making a simple little Social Network. I have all the inputting posts, users, etc, done. The only thing wrong right now is it is pretty much just a chat room. Whenever you post something on ...