Questions tagged [nowjs-sockets]

NowJS, by Flotype Inc is a now deprecated which is a JavaScript server framework built on top of Node.js. For questions related to the Now CLI from ZEIT, use the [zeit-now] tag instead.

[Deprecated] NowJS creates a magic namespace "now", accessible by server and client. Functions and variables added to now are automatically synced, in real-time. Call client functions from the server and server functions from client.

http://nowjs.com/

123 questions
45
votes
3 answers

What is the difference between dnode and nowjs?

How do the two compare to each other?
blueberryfields
  • 45,910
  • 28
  • 89
  • 168
24
votes
4 answers

How to use backbone.js with websockets/socket-io/nowjs

I am just getting into backbone.js and am finding progress a little slow. My main problem is working out how to keep my client and server side models in sync using socket-io (technically I am using now.js but the same principal should apply). I…
henry.oswald
  • 5,304
  • 13
  • 51
  • 73
22
votes
4 answers

Value from client.get() is "true" instead of the real value

I am using nowjs and node_redis. I am trying to create something very simple. But so far, the tutorial have left me blank because they only do console.log(). //REDIS var redis = require("redis"), client =…
wenbert
  • 5,263
  • 8
  • 48
  • 77
18
votes
2 answers

Error running a nodejs server on a Mac, 'no suitable image found'

unknown406c8f2d5ecb:proves airrider3$ node tronServer.js [Error: dlopen(/Users/airrider3/Documents/proves/node_modules/now/node_modules/node-proxy/build/Release/nodeproxy.node, 1): no suitable image found. Did find: …
David Da Silva Contín
  • 1,051
  • 2
  • 10
  • 20
11
votes
3 answers

Node: Scale socket.io / nowjs - scale across different instances

Before starting to write my application I need to know what to do when a single node.js instance (express and (socket.io or nowjs)) isn't enough anymore. You might tell me now, that I shouldn't care about scale until it's about time but I don't want…
Eliasdx
  • 2,190
  • 2
  • 23
  • 33
10
votes
2 answers

502 Bad Gateway when using ExpressJS with nginx

If I run my expressjs app like so: coffee server.coffee and navigate to localhost:8080, everything works just fine. However, when I reverse proxy 8080 with nginx with the following configuration: server { listen 0.0.0.0:80; server_name…
Mark
  • 39,169
  • 11
  • 42
  • 48
10
votes
3 answers

Nowjs: [RangeError: Maximum call stack size exceeded]

When I start the server on port 8080 it doesn't give me an error, but when I am trying to browse the http://localhost:8080/nowjs/now.js the server raises an error: [RangeError: Maximum call stack size exceeded] undefined I tried the same with…
timidboy
  • 1,702
  • 1
  • 16
  • 27
9
votes
1 answer

Why can't I extend everyone's pocket in nowjs?

I'm trying to provide functions in everyone's pocket of nowjs. I'd like to do so by _.extending everyone's pocket, i.e. everyone.now. For some reason which I cannot understand, _.extend fails to properly provide the function at the client side. This…
pimvdb
  • 151,816
  • 78
  • 307
  • 352
8
votes
3 answers

Unable to load /nowjs/now.js

When I start the server, I get the following error [Error: Unable to load shared library /home/boopathi/node_modules/now/node_modules/node- proxy/lib/node-proxy.node] Error: Unable to load shared library…
Boopathi Rajaa
  • 4,659
  • 2
  • 31
  • 53
7
votes
4 answers

socket.io as a client

is there any way to run socketio as a client(not a browser, but a nodejs script) I need to broadcast data from a server to some clients (browsers) and to another linux machine (only running nodejs to get variables, no browser) Any ideias is…
Vitor
  • 191
  • 4
  • 10
7
votes
1 answer

Nowjs vs Socket.io

I've been using socket.io with node.js and came across Nowjs, it seems this just wraps socket.io and provides a more user-friendly interface. Once thing I've noticed with Socket.io is sometimes there is a delay in connection, in IE and Firefox in…
dzm
  • 22,844
  • 47
  • 146
  • 226
5
votes
5 answers

Missing node-waf when installing nowjs

This seems like it can be a recent problem since there are new versions out for both node.js and nowjs. When trying to install nowjs on ubuntu 11.04 with node 0.7.0-pre and npm sudo npm install now -g I get /bin/sh: node-waf: not found and so…
andli
  • 301
  • 5
  • 14
5
votes
1 answer

Enhancing Security in a now.js/socket.io chat

A chat with nowjs or socket.io is one of the easiest exercises you can perform with them. I want to implement a multi-room chat (with a non-fixed number of rooms and logged users), using nowjs' Group objects. I've not worked with WebSockets…
Lanbo
  • 15,118
  • 16
  • 70
  • 147
5
votes
2 answers

NPM Keeps Having Issues Finding My Node Path

Here's an example for me trying to install Node-Proxy because NowJS needs it: sudo npm install node-proxy > node-proxy@0.5.2 install /home/jennifer/node_modules/node-proxy > make BUILDING: C++ Component Checking for program g++ or…
user784756
  • 2,363
  • 4
  • 28
  • 44
5
votes
1 answer

How can you configure nowjs?

With nowjs how do I configure the lower level socket.io's logging level and it's per connection (global) authentication level? For example if I were just using socket.io I would use the following code: socketServer.configure(function (){ …
Evan
  • 4,450
  • 10
  • 40
  • 58
1
2 3
8 9