question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error NODE_MODULE_VERSION 59

See original GitHub issue

After I upgrade node by ‘brew upgrade’, I can not run appdmg now, how can I fix it?

module.js:670 return process.dlopen(module, path.toNamespacedPath(filename)); ^

Error: The module ‘/usr/local/lib/node_modules/appdmg/node_modules/macos-alias/build/Release/volume.node’ was compiled against a different Node.js version using NODE_MODULE_VERSION 57. This version of Node.js requires NODE_MODULE_VERSION 59. Please try re-compiling or re-installing the module (for instance, using npm rebuild or npm install). at Object.Module._extensions…node (module.js:670:18) at Module.load (module.js:560:32) at tryModuleLoad (module.js:503:12) at Function.Module._load (module.js:495:3) at Module.require (module.js:585:17) at require (internal/module.js:11:18) at Object.<anonymous> (/usr/local/lib/node_modules/appdmg/node_modules/macos-alias/lib/create.js:7:13) at Module._compile (module.js:641:30) at Object.Module._extensions…js (module.js:652:10) at Module.load (module.js:560:32)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ubertilcommented, Dec 14, 2017

I nuked the hell out my node_modules directory + uninstalled npm + reboot. Fixed the issue

1reaction
kenpingliucommented, Dec 15, 2017

thanks, I fixed the issue by follows: rm -rf /usr/local/lib/node_modules/ brew uninstall node brew install node npm install -g appdmg

Read more comments on GitHub >

github_iconTop Results From Across the Web

was compiled against a different Node.js version using ...
My exact error was - "The module '/Users/<username>/Downloads/intro-to-graphql/node_modules/bcrypt/lib/binding/bcrypt_lib .node' was compiled ...
Read more >
NODE_MODULE_VERSION 64. This version of Node.js ...
This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing #1910.
Read more >
sap/node-vsi: incompatible NODE_MODULE_VERSION 59 vs ...
I just updated my node.js version to 8.11.1 and now I have a lot of issues with the sap node modules. The newest...
Read more >
Gatsby build failing due to incorrect node version detection
Hello, I'm getting a build error trying to deploy my Gatsby site at objective-williams-e73959.netlify.app. The logs below point to an error with my...
Read more >
Failed node js deloymentr - Render community
Hello Dev Community, I just finished deploying my node.js site on render and its giving me the following error : [nodemon] 2.0.20 Dec...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found