How to use Electron + RobotJS.io

-1

I have the same problem with this unanswered question as before: link

I need to connect the robot.js ( link ) with Electron You need to take this step by step here: link

I think I'm doing something wrong My electron is 4.0.0

"devDependencies": {
    "electron": "^4.0.0"
  },

In the ABI part it has to be the node version, right?

NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing

As the error asks to recompile at 64, I used 64 in the parameters

But when I try to give the npm explained there in the link: link

npm rebuild --runtime = electron --target = 4.0.0 --disturl = link - -abi = 64 of this rain of error: link

To do something wrong?

    
asked by anonymous 30.12.2018 / 18:10

0 answers