Comments (8)
Hi @coeur-de-loup,
I'm assuming you're running the examples contained in https://github.com/nut-tree/trailmix.
In this repo, npm i && npm t
should be sufficient to run examples. However, these will most likely run into errors, since I built them for a Linux system.
Let me know if there are any more questions!
from nut.js.
Closed due to inactiviy. Feel free to re-open on any further questions
from nut.js.
Hey!!! Sorry for the delay! Thanks for the answer. Is there a way to make this work on mac or it's too complicated?
from nut.js.
Hi @coeur-de-loup,
yes, nut.js
is cross-platform compatible, so it's possible to install it on a Mac.
Since you're on a Mac, could you please create a new project (npm init -y
), install nut.js
(npm i @nut-tree/nut-js
) and afterwards copy the sample shown in the readme to an index.js
?
In case prerequisites for macOS are met, you should be able to run the sample via node index.js
.
If not, please post the error output here.
Best regards
Simon
from nut.js.
@coeur-de-loup Another addition, regarding accessibility permissions on macOS: #133 (comment)
from nut.js.
Hi @s1hofmann,
I managed to run the sample code after installing mocha.
The mouse started to move but then I get this error:
Segmentation fault: 11
So it's a mac permission error, but I don't know what to add to the accessibility list. I tried adding the terminal itself without luck. I can't add index.js neither (it's greyed out).
any Idea?
Thanks for the help!
Andy
from nut.js.
Hi @coeur-de-loup,
to be honest, I still can't fully comprehend what you're trying to achieve nor which steps you're carrying out to do so.
Could you maybe provide a sample repo which allows me to reproduce your setup?
from nut.js.
Closed due to inactiviy. Feel free to re-open on any further questions
from nut.js.
Related Issues (20)
- Automatically repeat keystrokes for `keyboard.pressKey(...)`
- TypeError when loading nut.js in Electron main process HOT 6
- Update Window tutorial
- Focus doesn't seem to always focus properly HOT 11
- Nutjs does not output correctly on window when using boardkey.type () to output Chinese HOT 1
- Package no longer supported [email protected] HOT 1
- Hi From CodeVideo - we're interested in writing a "human-like mouse movement" plugin for nut-js! HOT 2
- OCR says it failed to detect text but seemed to detect it with a high confidence best match HOT 4
- Create a custom plugin example
- 32Bit Electron build create some error HOT 1
- 32 bit UnSupported platfrom how to solve this like prob. HOT 1
- Error: Failed to capture screen HOT 8
- libnut.node: cannot open shared object file: No such file or directory HOT 11
- nl-matcher performance low when run on Electron.
- Not Installing on MAc OS HOT 10
- Minimum/Maximum Screen Dimensions Error HOT 1
- Clarification on number of users in subscription. HOT 4
- window.getElements() return type incorrect
- not word install HOT 1
- npm install fails with 404 error not found in registry HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nut.js.