Closed megastef closed 10 years ago
Server is starting up when this lines in lib/redis.js are changed to:
var redis = require('redis');
var RedisStore = require('socket.io-redis');
registering devices with enabled REDIS and Mongo seems to work fine.
before I made
npm install redis
npm install socket.io-redis
Thanks! You caught is in mid-update :) We are in the process of upgrading skynet from skocket.io 0.9.16 to 1.0.6. Our Redis updates were failing and we are still dealing with 1 more messaging bug before updating production with these updates. Keep watching this thread, twiitter, or join our #skynetim IRC channel for udpates.
This issue has been resolved in our latest release.
The first error was that socket.io did not find node_modules_redis - moved to this dir npm install redis ok, after that I got the error (See at the end). I used also npm install socket.io-redis - did not help because in skynet/lib/redis.js seems to be some wrong code, including scripts from socket.io subdir. Why not require ('redis')?
In any case I would appreciate any help to get the missing files, as npm install as described don't work.