3rd-Eden / node-hashring

hashring is a consistent hashing algorithm for Node.js that is compatible with libketama and python's hash_ring package
MIT License
350 stars 57 forks source link

Error: Module version mismatch. Expected 13, got 11 #26

Closed wangbinlml closed 9 years ago

wangbinlml commented 9 years ago

i use node version is v.11.10: When running my node.js program I got the following error;

/home/liubin/workspace_bak/core_mm/node_modules/hashring/node_modules/bindings/bindings.js:83 throw e ^ Error: Module version mismatch. Expected 13, got 11. at Module.load (module.js:349:32) at Function.Module._load (module.js:305:12) at Module.require (module.js:357:17) at require (module.js:373:17) at bindings (/home/liubin/workspace_bak/core_mm/node_modules/hashring/node_modules/bindings/bindings.js:76:44) at Object. (/home/liubin/workspace_bak/core_mm/node_modules/hashring/index.js:3:36) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:349:32) at Function.Module._load (module.js:305:12)

please help me!!!

3rd-Eden commented 9 years ago

You didn't re-install your node modules after upgrading to 0.11. So the binary is build against the old node version.