Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault (core dumped) #76

Open
legop3 opened this issue May 12, 2021 · 0 comments
Open

Segmentation fault (core dumped) #76

legop3 opened this issue May 12, 2021 · 0 comments

Comments

@legop3
Copy link

legop3 commented May 12, 2021

var robot = require("robotjs"); var mouse = robot.getMousePos(); console.log(mouse.x + ', ' + mouse.y); var hex = robot.getPixelColor(mouse.x, mouse.y); console.log("#" + hex + " at x:" + mouse.x + " y:" + mouse.y);

this is my code, it's just a small thing that should tell me the coordinates and color code of where the cursor is. instead it outputs the coordinates and then "Segmentation fault (core dumped)"

image

where is this issue? in my node install? or would it be my build of robot.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant