When I tried to build my electron application, it didn’t show any errors in the building process, but when I got the exe file, and I installed it, when I wanted to run it, it shows the error: NODE_MODULE_VERSION 89. Please try re-compiling or re-installing.

I tried to run “npm run electron:build” command to rebuild the application, but it still doesn’t work. So I have to search some information about this error online.

I use “npm uninsall electron” and “npm install electron” reinstalled the electron package, and it showed another version error, it shows “This version of node.js requires NODE_MODULE_VERSION 128.” So I guessed maybe because the version of electron is not correct.

At last, I get the reason, it’s the different version of node.js and electron. So I searched the version list of electron and abi, but I cannot find the correct version. I have to give it up.

At last I am trying to use “npm rebuild” to solve this problem, luckily it works. Because there’s some packages were not supported already, so I don’t want to use “npm install” to reinstall the required packages, that’s why it’s so hard to solve this problem.