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.
0
votes
0answers
3 views
how can i delete a single field in a document in couch db?
I googled and searched in stackoverflow.There I find this :
db.get('id', function (err, doc) {
var inside_key_values = doc.key_value_pair;
delete inside_key_values[key_to_delete];
...
0
votes
0answers
10 views
Getting Fatal error: spawn ENOENT
I want to create window installer but facing some problem from last 4 days
on exectuion of common.js facing this error.
What i analyzed:
child = child_process.spawn(cmd, args, opts);
...
0
votes
0answers
5 views
Node : Node.exe crashes on Windows 2008 after about two weeks
Express server, running on Windows 2008, crashes every two weeks or so. The node server is run as a service using nssm- there is no appreciable load on the server and logs dont provide any ...
0
votes
0answers
6 views
Node.js pass handle of response object handle to child process
I have an http server and a forked child process. I want the parent to receive requests and pass to forked process using worker.send. and the worker should be able to process and send the response ...
0
votes
1answer
9 views
Time taken to resize the image in imagemacik,imagemacik-native and graphicsmagick?
I need to resize the image.So in the below three libraries how to find which one is taking less time to resize the image.
https://github.com/rsms/node-imagemagick
...
0
votes
1answer
11 views
Meteor/Node writeFile crashes server
I have the following code:
Meteor.methods({
saveFile: function(blob, name, path, encoding) {
var path = cleanPath(path), fs = __meteor_bootstrap__.require('fs'),
name = cleanName(name || ...
0
votes
0answers
6 views
Getting Sails.js to work with Node.js Cluster Module
I've recently started working on an App on node js using Sails.js framework.
I like the framework, and I want to use cluster module so it is more scalable.
How would I go about it? And I would ...
0
votes
0answers
3 views
Cannot specify Node.js REPL global module path by setting NODE_PATH
I'm using Node.js v0.10.13 and npm v1.3.2.
I set the NODE_PATH to /usr/local/share/npm/lib, and I can see it in REPL
> process.env.NODE_PATH
'/usr/local/share/npm/lib'
But it cannot specify the ...
0
votes
0answers
6 views
Execution of a node package command not working on Ubuntu 12.04 RTS
I have created a npm package, Here is the package.json:
{
"name": "docxgen",
"version": "1.0.5",
"author": "Edgar Hipp <[email protected]>",
"description": "A docX Generator",
...
0
votes
2answers
24 views
Convert String to Array of JSON Objects (Node.js)
I'm using Node.js and express (3.x). I have to provide an API for a mac client and from a post request I extract the correct fields. (The use of request.param is mandatory) But the fields should be ...
0
votes
1answer
16 views
Easy with the sudo - Yo webapp
I get an error while running yo webapp as "Easy with the sudo. Yeoman is the master around here"
Please help me out. I followed the same instructions in the yoeman.io website.
Without sudo , on ...
0
votes
1answer
12 views
Android constant connection website
I'm looking for options for communication between an Android device - running a native app - and a website.
In basics, the Android device is just a sensor for movement, while the website is the ...
1
vote
0answers
13 views
Node.js, Socket.js stops serving socket.io into browser on high load
i have a strange problem with node.js and socket.io server. This problem shows when about 400-600 users are connected, server simply stop serving socket.io to browser or just having a big lag with it ...
0
votes
0answers
3 views
AIR . SocketIO Flashsocket and Accents
I'm working on project which use ADOBE AIR (FlashSocket library) for the client side and node.js with socketIO (flash socket for the transport ) on the server side.
When i write "é" in a field and i ...
0
votes
1answer
21 views
mongodb - concept of batches
I am using MongoDB with Node.js and have got stuck at a particular scenario.
Let's say I have a document store called samples which I use to collect some time stamps from the client machine.
I want ...