Skip to content

Possible solution when failing with node-gyp errors ? #15

@ZaidaZadkiel

Description

@ZaidaZadkiel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions