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
15 views
simple form node js application
sorry for my not perfect english:) I want to learn programming and i want to learn node js. So my friend gave me a task to make simple node js app. I need to make simple form with user name and last ...
0
votes
0answers
8 views
in node.js express, how to tell the HTTP request is application/json or html on the content negoition
I made a native android app client and a web app client for a node.js application. the android app client only receive the json response while the web app client receives the html response.So it is ...
0
votes
1answer
6 views
express/connect middleware which executes after the response is sent to the client
Is it possible to write a middleware which executes after the response is sent to a client or after the request is processed and called just before sending the response to client?
0
votes
0answers
5 views
Error: Received rst: 1 when running nodejs spdy example
I am able to run example from https://coderwall.com/p/2gfk4w but when I refresh page in hte browser second time I am getting below error
Error: Received rst: 1
at Parser.<anonymous> ...
2
votes
1answer
23 views
Simple Websocket in scala / akka / play
I would like to create a simple Websocket application using Scala / Akka / Play.
What I see from the examples (such as the webchat or the recent talk at the Scala Days), is a blend between JavaScript ...
0
votes
0answers
21 views
Expecting a function in instanceof check, but got body - Trying to create view in Backbone
I am trying to create a view in Backbone and trying to load libs via node require. i am able to output to console from Model/Collection but when i start to create view i am getting error "Expecting a ...
0
votes
0answers
10 views
Setting a cookie value in Socket.io?
I'm using Socket.io in conjunction with Express when working with sessions, and I have been able to set the session of an authorization handshake.
There is no way to set cookies using Socket.io ...
0
votes
1answer
17 views
Installing Socket.io package in node.js
1) Installed Node v0.10.13 X64(I am in Win 8)
2) Opened CMD with Administrator Priveleges
3) Typed npm install socket.io it downloads something but it shows something like a build error at the end.
...
0
votes
0answers
11 views
Amazon EC2/Beanstalk Node.js: Child_process + FFMPEG
I installed FFMPEG on the EC2 using this guide: http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
I also installed ImageMagick on the EC2.
Running this code:
var exec = ...
0
votes
0answers
9 views
Nodejitsu app stops immediately after starting
I'm quite new to node.js, so bear with me. I've set up a basic Portfolio site using node, express, and some bootstrap, and everything runs fine locally (on github). When I deploy and/or start my app ...
0
votes
0answers
27 views
Connecting to a socket.io server from Java
So I'm working on this android app and I've reached the stage where I'm trying to connect with a socket.io server for real time chat. The socket.io server is already running on the website and works ...
0
votes
0answers
16 views
Kramdown Markdown written Ruby integrated in Node.js
Middleware in my Node.js
functions.editorPreview = function (req, res) {
var data = req.body.text;
fs.writeFile(__dirname + '/message.txt', data, function (err) {
if (err) throw err;
...
-1
votes
0answers
19 views
where do you put the mongodb files in a node application?
I have mongodb installed, as well as node. when i want to shove some data into a mongo document, where do i put the mongo document? And what is the mongo document called? mydocument.mongo?
0
votes
2answers
14 views
Getting the right client-side socket-io.js file
I am trying to get socket.io (Node library) to work.
I have the server-side js working, and it is listening. The socket.io website states simply:
<script ...
0
votes
0answers
13 views
Generate Alternative when Unique Index fails on MongoDB
So when users sign up via Google, Twitter or such, names can overlap. Within my app, usernames have a unique index. Since a new document is put into the collection whenever someone signs in for the ...