You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varrobot=require("robotjs");// Speed up the mouse.robot.setMouseDelay(2);vartwoPI=Math.PI*2.0;varscreenSize=robot.getScreenSize();varheight=(screenSize.height/2)-10;varwidth=screenSize.width;for(varx=0;x<width;x++){y=height*Math.sin((twoPI*x)/width)+height;robot.moveMouse(x,y);}robot.moveMouseSmooth(100,100);
What is the expected behavior?
npm install robotjs
node ./sine.js
"Works fine"
What do you see instead?
bun install robotjs
bun ./sine.js
bun: symbol lookup error: node_modules/robotjs/build/Release/robotjs.node: undefined symbol: node_module_register
Additional information
No response
The text was updated successfully, but these errors were encountered:
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Linux 6.2.16-2 x86_64 unknown
What steps can reproduce the bug?
sine.js:
What is the expected behavior?
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: