I'm having issue launching my node app in electron.atom.shell


#1

When I try to launch my app in electron shell I get the below error:
I’m using node v0.12.3

Uncaught Exception:
Error: Module version mismatch. Expected 43, got 14.
at Error (native)
at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:118:20)
at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:118:20)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:298:12)
at Module.require (module.js:353:17)
at require (module.js:372:17)
at bindings (/src/git/superqa/node_modules/bcrypt/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/src/git/superqa/node_modules/bcrypt/bcrypt.js:3:35)
at Module._compile (module.js:418:26)

#2

This kind of error is generally raised when a binary used by a module was compiled with a different node version than the one you’re try to execute. My guess is that you have installed your app dependencies using npm install but without following the extra steps to make the binary electron-compatible.

Have you checked this documentation: