Module version mismatch. Expected 48, got 47.
See original GitHub issueHello,
when I run dredd
command I’m getting ‘Module version mismatch. Expected 48, got 47.’ error.
Node version is 6.1.0.
and npm 3.8.6
.
Complete error message:
module.js:568
return process.dlopen(module, path._makeLong(filename));
^
Error: Module version mismatch. Expected 48, got 47.
at Error (native)
at Object.Module._extensions..node (module.js:568:18)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/dredd/lib/dredd.js:11:15)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
What should I do to fix this?
Thank you
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Error: Module version mismatch. Expected 48, got 57 ... - GitHub
That error message often happens when the node version in a machine has been updated. In your case, it looks like you've installed ......
Read more >Module version mismatch. Expected 48, got 51 - Stack Overflow
It seems the number refers to NODE MODULE version, 48 is node 6, 57 is node 8. We were running our pm2 processes...
Read more >Node-Red does not start BeagleBone Black (Linux 4.4.30
Hi all, I have followed the instructions to install Node-Red on my BBB (Linux 4.4.30-ti-r64 #1, Debian Linux 8.7 (jessie), as described in...
Read more >2013642 – udevadm warns on a new PCRE2 version: Regex ...
After upgrading pcre2 to 10.38, udevamd warns like this: # udevadm Regex version mismatch, expected: 10.38 2021-10-01 actual: 10.37 ...
Read more >nodegit/nodegit - Gitter
I navigated to the nodegit folder, ran npm install and npm rebuild , but still am getting an Uncaught Error: Module version mismatch....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This sounds like you’ve installed dredd and then upgraded or changed the version of node you are using. To solve this, you will need to reinstall dredd with the version of node you want to run it from.
@asbjornu @alexey-sh Did you try the solutions mentioned above? You could also give a try to the pure JS version to avoid compilation: