TooTallNate/node-bindings

Error: Module version mismatch. Expected 48, got 46.

sanjay-ng opened this issue · 4 comments

Hi,
I'm getting the following error: "Error: Module version mismatch. Expected 48, got 46."

Tried re-installing node, deleted node_modules and cleared cached, still didn't work. Please let me know what can I do to solve it? Thank you in advance.

Tried these and still no solution:
audreyt/node-webworker-threads#109
Level/level#39

image

Finally able to solve the issue. Installed Node.js v4.8.0 and solved the issue.

Request to author to mention the node version used to compile the bindings package.

You need to re-compile (most likely just re-install from npm and it will be re-compiled automatically) the module.

I did try to re-install from npm and but had no luck. After installing node 4.8.0, it worked.

it worked for me now ... on my computer I have the version 6.12 node and on the server was version 4.1 ... after upgrading the node on the server to version 6.10, the problem has disappeared. Thank you all!