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.

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

302 Redirect prevents callback in Request

I've noticed some websites don't close 302 redirects which causes the callback not to fire. Anyone know how to remedy this? var request = require('request'); request({url:'http://craigslist.org' ...
0
votes
0answers
3 views

rabbitmq node-amqp; cannot create simple exchange

Can anybody please tell me what's wrong with this piece of code? This is my first node/rabbit project and clearly I'm doing something wrong... (I'm using node v0.10.7, amqp v0.1.7 installed directly ...
-2
votes
0answers
13 views

Building a realtime mobile app with html5

I'm new to html5 and and have an assignment to build a real-time multi-user whiteboard/drawing pad app in html5 for mobile and I don't know where to begin with, any help would be really appreciated. ...
0
votes
0answers
4 views

Error when using node.js , limestone, sphinx-server

I am using node.js and the limestone library to connect to sphinx search server. When I get the results back, I parse it and use a value in the payload (i.e. one of the attributes) as a key, to look ...
0
votes
0answers
5 views

Is it possible now to use GetUserMedia API to read video stream from web camera and send it directly to server for further broadcasting?

I need to build a web application that uses WebRTC to get web camera video stream and mic audio stream and immediatelly translate it to the server for further broadcasting to multiple clients. The app ...
4
votes
0answers
32 views

How to chain exceptions in javascript (ie add cause like in java)

Is there a standard / best practice way to add a cause of an exception in javascript. In java you might do this: Throwable t = new Exception("whatever"); t.addCause(previouslyCaughtException); throw ...
0
votes
0answers
2 views

dnode over http with remotes from both ends

Can anyone think of why two way dnode wouldn't work when using it over HTTP ? Here is a working TCP example https://github.com/jpillora/hnode/blob/master/example/dnode-server.js ...
0
votes
0answers
8 views

MongoDB: Multiple parallel aggregation framework queries which are dependent

I have a mongoose model 'OnlineUsers' which has schema {user_id : ObjectId, params : [Number] // Usually [1,25,4,32,3] , length ~ 5 top5 : [Number] // [1,4,25,32,7] } I have a array reqParams ...
0
votes
0answers
20 views

Javascript won't work after socket connection?

I need to connect to socket io on my server from HTML. The problem is, when I declare the variable for socket, everything after that does not work. When I move the socket code to after the alerts, ...
0
votes
0answers
8 views

Problems installing yeoman

I am trying to install yeoman but I am getting the following error messages: I did install node.js and npm (latest version),now I am doing this npm install -g yo grunt-cli bower and npm install ...
0
votes
4answers
41 views

Cannot read property 'undefined' of undefined, but I'm sure the var is valid

I am parsing a smil (xml) file to get a list of pathname. The parsing go well, and is stocked in a huge literal object. But when I try to get the information back, I only get: ...
0
votes
0answers
15 views

Does not change the variable

Why does not change the variable? var dNode = require('./node_modules/dnode'); var IM = require('./im.js'); var dPort = 8082, ioPort = 8085; dNode({ connect: function(user_id, callback) { ...
0
votes
2answers
11 views

Using node.js to show realtime notification of messages in a PHP application

I have a PHP application where people post different status messages. I want to implement realtime notifications in it. That is if a user posts something , immediately other users accessing the site ...
1
vote
1answer
19 views

Add a static frontpage to Meteor.js

I've started learning Meteor.js and it seems fabulous for single page app. But I only know how to create one page for the entire site. How can I add a static page to http://domain.com and have my ...
0
votes
0answers
17 views

How to do proper error handling in node with domain?

I am using a third party library. Which is using node domain for error handling. If the callback function passed to that third party library have any error, It end-up in calling my callback multiple ...

1 2 3 4 5 1725
15 30 50 per page