javascript - nodejs: Error: Module version mismatch. Expected 13, got 11 at bindings.js -


i trying use netroute module in project. when test in test.js file , write node test.js works expected. when try load big project error:

{"stack":"error: module version mismatch. expected 13, got 11.\n    @ module.load (module.js:352:32)\n    @ function.module._load (module.js:308:12)\n    @ module.require (module.js:360:17)\n    @ require (module.js:376:17)\n    @ bindings (~/node_modules/netroute/node_modules/bindings/bindings.js:74:15)\n    @ object.eval (~/node_modules/netroute/lib/netroute.js:3:19)\n    @ module._compile (module.js:452:26)\n    @ object.module._extensions..js (module.js:470:10)\n    @ module.load (module.js:352:32)\n    @ function.module._load (module.js:308:12)"}  

i tried running npm update, tried every possible release version of netroute , bindings.js, tried reinstalling modules no success.

i have not updated nodejs, , have checked there 1 version of npm , nodejs in apt-cache.

what can problem? why works standalone , don't work in project? using grunt in project (starting grunt start), can version configured there or somewhere else?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -