moose-team / friends

:tv: P2P chat powered by the web.
http://moose-team.github.io/friends/
MIT License
3.17k stars 341 forks source link

Uncaught Error: Module version mismatch #115

Closed hemanth closed 9 years ago

hemanth commented 9 years ago
[27697:0503/202048:INFO:CONSOLE(83)] "Uncaught Error: Module version mismatch. Expected 43, got 42.", source: /Users/hemanth/labs/friends/node_modules/leveldown/node_modules/bindings/bindings.js (83)

Line 83 of binding.js:

if (!/not find/i.test(e.message)) {
  throw e
}

More info:

→ uname -a
Darwin Apples-Macintosh.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64

→ node -v
v1.8.1

//cc @mafintosh Was stuck with this till now and currently facing this. (I guess I have messed up the version?)

hemanth commented 9 years ago

Fixed it with npm run rebuild-leveldb