-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add support for Darwin arm64 #424
Comments
Currently we don't generate the binary for |
hey @willemneal , the issue is still there now. Shall we remove the dependency of |
Hello all, any plans on fixing that? As M1 Macbooks become more and more prolific, devs (like us) need to spend more time setting up a separate env (if that's available) etc. Thanks for all the work up until now :) |
+1 facing this issue as well, this seems to be a dependency for a dependency on create-near-app which makes |
seems related to: near/create-near-app#1260 |
It works. Follow this article: https://www.jurnalanas.com/node-js-mac-m1/ If you used This might also be useful: https://docs.near.org/docs/faq/developer-faq#4-building-smart-contracts-on-apple-m1-arm64 |
Awesome thanks for that reference, we should consider adding a reference to that to the README.md in the repo. Created #693 so we can track it and issue a PR against it. |
Related to #693 |
Even though that might work it shouldn't be considered good practice to switch the architecture of your node installation. This has performance implications and also adds another layer of complexity for newcomers with M1-devices. Instead I got |
With node v12.22.7, everything works smoothly, but I don't think that's a great workaround. |
Describe the bug
getBinary()
innear-vm
throws an error if run on M1 / Arm mac os. This exception is not necessary;near-vm-runner-standalone 1.1.0
runs fine on ARM macs.To Reproduce
Run
yarn install
from any project that importsnear-sdk-as
on an m1 mac.Expected behavior
It compiles.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: