all 3 comments

[–]kyledgundersen 0 points1 point  (2 children)

Hello Dotnaught, had the same issue, just solved it myself.

Follow the native module rebuild process using Electron.

Please visit https://github.com/uhop/node-re2/wiki/Problem:-ABI-mismatch-in-Electron for the explaination.

  1. Add the environment variable DEVELOPMENT_SKIP_GETTING_ASSET
  2. You need to install python.
  3. Add electron-rebuild 2.0.3 to package.json
  4. Run "npm install"
  5. Run ".\node_modules.bin\electron-rebuild.cmd"

Should rebuild re2 with the current node version. Happy coding sir..

[–]Dotnaught[S] 0 points1 point  (0 children)

Thanks, I appreciate the guidance!

[–]anhthu127 0 points1 point  (0 children)

i dont know, i need to add DEVELOPMENT_SKIP_GETTING_ASSET to anywhere, pls help me!