remote-control-server icon indicating copy to clipboard operation
remote-control-server copied to clipboard

Possible solution when failing with node-gyp errors ?

Open ZaidaZadkiel opened this issue 3 years ago • 0 comments

The package.json file includes a dependency for "robotjs": "git+https://github.com/jeremija/robotjs.git#71bb8aa", which in my system (linux 5.11, node 12) just wouldnt work over node-gyp

so what i did: create a new empty directory npm init npm install robotjs

this creates node_modules. You can try one of the example files for robot.js to check it actually works

once that is done, copy the source over this empty folder without deleting / overwriting node_modules and fix the package.json with the current (as of august 2021) "robotjs": "^0.6.0",

then it runs.

I dont know if it really works yet.

ZaidaZadkiel avatar Aug 15 '21 17:08 ZaidaZadkiel