andreypopp / todomvc-flux-swarm

38 stars 6 forks source link

unable to install and start #1

Open ilkosta opened 9 years ago

ilkosta commented 9 years ago

trying to do 'npm npm install && npm start' it complains about the swarm version:

Error: Cannot find module 'swarm'

So I've tried to replace the custom swarm with the npm one

"dependencies": {
    "connect-browserify": "^3.2.0",
    "es6-promise": "~0.1.1",
    "express": "^4.6.1",
    "react": "~0.10",
    "swarm": "^0.3.0",
    "ws": "^0.4.31"
  },

and now it complains about the lack of DummyStorage:

server started on localhost:3000
Error: module "swarm/lib/DummyStorage" not found from "todomvc-flux-swarm/js/stores/UserStore.js"
    at notFound (todomvc-flux-swarm/node_modules/connect-browserify/node_modules/browserify/index.js:812:15)
 [...]

how can I find the correct version of swarm? thanks

DuncanMacWeb commented 9 years ago

Hi @ilkosta, try gritzko/todomvc-swarm; you may have better luck with that.