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 (2)

0
votes
0answers
4 views

Getting invalid frontend message type 0 in node-postgres

I am making an app using node.js and postgresql. My code that worked fine only minutes ago is suddenly throwing an error. I do not understand because the same code worked earlier. I cannot interact ...
0
votes
1answer
8 views

Organising tests using Mocha & Should.js

I'm new to unit testing using the Mocha & should.js. I'm using the Mocha's BDD for testing my application. The application I'm testing has different components like account, products & order. ...
0
votes
1answer
20 views

how to know mongodb version through mongojs

dburl = "mongodb://127.0.0.1:27017/demo"; db = require('mongojs').connect(dburl); console.log(db.version); I want to know mongodb version using mongojs.
0
votes
1answer
13 views

Imitate incoming call behavior on android

I'm working on a project to send free calls over wi-fi. I'm using Node.js on the back end with sockets to send the voice. And I want to "notify" the user on real time when he has an incoming call from ...
-2
votes
0answers
10 views

Nodejs Application to Integrate with Forum Software [closed]

I'll be making a NodeJS web application. The application will have it's custom user management. Part of the application is a forum for its users. Im thinking of using SimpleMachines forum platform. ...
0
votes
0answers
5 views

Object #<Server> has no method 'use' [Express+ShareJS]

Environment Express 3.2.4 ShareJS 0.6.2 OS X 10.8.3 Goal I am trying to get ShareJS running inside of an Express app. Problem I get the following error on running node app.js: ...
0
votes
0answers
15 views

how to make custom modules accessibly globally

I have written several custom nodejs modules and I want to be able to access them anywhere I run my node apps. I have tried placing them in the same directory I installed nodejs in, but that doesn't ...
0
votes
1answer
14 views

Starting node.js with full config from gruntjs (before executing mocha tests)

I use Mocha to test my Node/Express.js services, and I'd like to automate these with Grunt to run against a test instance of the server (i.e., identical configuration just listening on a different ...
0
votes
1answer
14 views

Can I use Amazon ELB instead of nginx as load balancer for my Node.Js app?

I have a Node.js app and I've seen a lot of posts here in SO that it needs to be behind a nginx as load balancer. Since I'm already accustomed to Amazon's services, thus my question.
0
votes
0answers
12 views

use a typescript module/class in the browser and in the server (Node.Js)

How would I use the same typescript class or module in a client side javascript file and in a server side node.js file? I found a solution here where you manually create the exports variable instead ...
0
votes
0answers
21 views

angularJS binding not working

I have a problem with Angular and Jade. I have my index.jade that it looks like this: extends ../layouts/default block content script(type='text/javascript', src='/js/angular.js') ...
1
vote
1answer
26 views

Javascript - Object's property is determined by a function, node's not waiting for it

I have a fairly simple javascript/jquery obeject being built by a Node.js scraper. Everything works as it should (obj.prod_name_select and its counterparts return jquery selectors and they're parsing ...
2
votes
0answers
18 views

Compile less files in node.js project on Windows Azure

I have a node.js project that compiles less files to css when I start the app. I do this by modifying the start script in package.json like so: { // omitted for brevity start: { lessc ...
-1
votes
1answer
19 views

Are there any advantages to building responsive/mobile websites on a Node.js server? [closed]

I've been reading that some companies have been moving their mobile platforms to node.js servers. Just wondering what the advantages of building responsive or mobile websites on node.js would be. ...
0
votes
0answers
15 views

Node.JS Ensure Config File Ready

I have a config.js file for Node that I have set user data, database connection data, and IP address for the server. As I am working in multiple environments I have configured the config.js file to ...

1 2 3 4 5 1550
15 30 50 per page