octoblu / meshblu

Meshblu is a cross-protocol IoT machine-to-machine messaging system.
https://meshblu.readme.io/
MIT License
816 stars 181 forks source link

Unable to run Docker image #106

Closed mitar closed 8 years ago

mitar commented 8 years ago

Building a Docker image from current master, as explained in README, and running it, I get the following error:

Starting HTTP/HTTPS...createClient undefined {}
undefined is not a function TypeError: undefined is not a function
  at new Publisher (/usr/src/app/lib/Publisher.coffee:6:16)
  at Object.<anonymous> (/usr/src/app/lib/models/device.coffee:8:13)
  at Object.<anonymous> (/usr/src/app/lib/models/device.coffee:1:1)
  at Module._compile (module.js:456:26)
  at Object.loadFile (/usr/src/app/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
  at Module.load (/usr/src/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
slimjim2234 commented 8 years ago

Same issue here, it appears redis is now required in Publisher.coffee? I thought meshblu could run without redis?

iamruinous commented 8 years ago

We temporarily made redis a requirement while we were replacing socket.io as the internal message bus. It should be optional again.