It's my first Electron project, after uses the getting starter, sorry if it is something too dumb
I'm trying to automatize some stuffs i do, so my first project should be something with this lib:http://robotjs.io/

But i reciving this error:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: The module '/home/flyahed/electron/zezeta/node_modules/robotjs/build/Release/robotjs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/flyahed/electron/zezeta/node_modules/robotjs/index.js:1:170)
at Object.<anonymous> (/home/flyahed/electron/zezeta/node_modules/robotjs/index.js:38:3)

---

What i've done:npm install robotjs
rm -r node_modules and npm install (searching on internet i found that would be a soluctoin to the problem)

> autothis@1.0.0 electron /home/flyahed/electron/autothis
> electron .
App threw an error during load
Error: The module '/home/flyahed/electron/autothis/node_modules/robotjs/build/Release/robotjs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/flyahed/electron/autothis/node_modules/robotjs/index.js:1:170)
at Object.<anonymous> (/home/flyahed/electron/autothis/node_modules/robotjs/index.js:38:3)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: The module '/home/flyahed/electron/autothis/node_modules/robotjs/build/Release/robotjs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/flyahed/electron/autothis/node_modules/robotjs/index.js:1:170)
at Object.<anonymous> (/home/flyahed/electron/autothis/node_modules/robotjs/index.js:38:3)