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
Build for M1 fails (no rules to make target) #400
Comments
The manual build instructions are a bit misleading, see #380. You need to make sure to clone the whole iohook repo not just Also, I believe you'll need to specify the Electron version and ABI with the I've successfully built iohook for darwin arm64 for Electron 13 but I haven't tried later Electron versions so I can't guarantee it will work 🤷♂️ |
Since you're using electron 18, you may want to clone PR #363 instead. |
@jove0610 It turns out I am using electron 12, but thanks. I read somewhere that the docs can be improved, and I absolutely agree. Other than that, it was quick and painless. |
Since I solved my issue, closing this. |
@nmilev-scribe How did you solve it on m1 mac? |
Expected Behavior
Navigating into
node_modules/iohook
, runningnpm install
and thennpm run build
builds iohook for thearm64
platformCurrent Behavior
The
npm install
command passes with the following output:The
npm run build
command fails with the following output:Trying with
yarn
produced the same results.Possible Solution
Steps to Reproduce (for bugs)
Context
Trying to run a development version of our Electron app is not possible on M1.
Your Environment
0.9.3
Electron 18.0.4
macOS Monterey 12.3.1
The text was updated successfully, but these errors were encountered: