-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
"no version found" error on Mac with M1 chip #641
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Released (The native architecture is |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Some discussion on nodejs/build#2474 in last day is that nodejs are thinking of shipping a fat binary from node 16. |
Hey! My solution was slightly different to the above,
|
Node.js 16 will have a native Apple silicon build (arm64). There will be a new version of If Node.js 16 comes out before
|
Thanks @shadowspawn that's great news 🏆 |
Released
|
🎉 ✅ problem solved @shadowspawn |
Thanks for confirming @parndt 😄 I don't have an Apple Silicon Mac and the index.tab did not get updated with arm64 until this morning and Node.js 16 wasn't out, so while I was fairly confident from manual tests, good to hear it works with the actual release! |
Using
n current
orn 8
etc on a Mac with the M1 chip and an older version ofn
will currently display an error that "no version found", because there are not yet native versions of node available for the new architecture.You can download and run node built for the Intel x64 architecture. The installed node will run using Rosetta 2. e.g.
Another approach is to launch Terminal itself using Rosetta, so that the terminal environment assumes x64.
The
n
behaviour on Apple M1 will be reviewed when nodejs decide their plans for support:The text was updated successfully, but these errors were encountered: