octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.24k stars 933 forks source link

Robotjs doesn't work with Electron, current time 2023.11.27 #750

Open hqsow opened 7 months ago

hqsow commented 7 months ago

I tried to include robotjs into my new project, npm install electron, npm install robotjs, when start, it alerts : image I tried everything I found on internet, including the official page of https://robotjs.io/docs/electron, it didnt work.

ryancwalsh commented 6 months ago

https://github.com/jitsi/robotjs might have helped me with this. I can't remember.

s1hofmann commented 4 months ago

@hqsow As an alternative, nut.js is fully prebuilt for macOS, Windows and Linux and provides an actively maintained alternative to robotjs which works fine with latest Electron.

lubo3395 commented 2 months ago

I also have the same problem, I'm going crazy