Open amunim opened 3 years ago
Can you provide builds, please?, I'm an unprivileged machine so I can't install a compiler just to use robotjs, ahk is already built and doesn't need privileges, for example.
Maybe you want to give https://github.com/nut-tree/nut.js try. It’s an enhanced framework for desktop automation combining possibilities of robot-js with image matching via OpenCV which provides prebuilt binaries.
It provides a nice API and additional features like highlighting desktop regions or retrieval of window coordinates / dimensions.
I'm having the same problem with Win10 and robotjs 0.6.0, is there any fix? Installing nan doesn't seem to do anything. I've also tried with countless versions of node, including 12, 14, and 16, no change.
当我尝试使用robotjs#build安装robotjs时,总是出现错误
预期行为
它应该成功安装robotjs
当前行为
它抛出了这个错误:
npm ERR! gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
重现步骤(针对错误)
- 跑
npm i robotjs
你的环境
- RobotJS 版本:0.6.0
- Node.js 版本:尝试了 12 和 14
- npm 版本:7.5.6
- 操作系统:Windows 10
Have you solved your problem? I have the same problem as you
When I try to install robotjs usind robotjs#build, I am always getting an error
Expected Behavior
It should install robotjs successfully
Current Behavior
it is throwing this error:
npm ERR! gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
Steps to Reproduce (for bugs)
npm i robotjs
Your Environment