-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
Detect arm64 for M1 #683
Comments
Homebrew have their own bottle (binary package) support for Apple Silicon for node@12 and node@14: |
An answer was provided, and no further activity in a month. Closing this as resolved. Feel free to open a new issue if it comes up again, with new information and renewed interest. |
Hi @shadowspawn, it seems that there are now arm64 versions for node 12, but n does not seem to be able to install them. When I try to install them, it falls back to v17. |
@L-U-C-K-Y
|
@shadowspawn thanks! Learned something new 😄 |
@shadowspawn I think it's worth displaying a warning that this version of node will be run as x64 under rosetta emulation, as there are bugs in some sources that are being compiled and run (e.g. lovell/sharp#3048) |
n use x86_64 arch for M1 macos
Homebrew use arm64 arch for M1 macos
I think n must detect arch and install arm64 version for M1 CPU
Homebrew formula - https://formulae.brew.sh/api/formula/node@12.json
The text was updated successfully, but these errors were encountered: