-
Notifications
You must be signed in to change notification settings - Fork 483
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
[not bug] Installing problem in mac arm64(m1, apple silicon) #369
Comments
Woah. what would other package managers do? install from source? That would be a waste of time for most people. |
@Schniz for example, nvm will compile it from source, yeah. As I understand it's just a temporary solution. Native support was introduced in 15.3.0. |
And sorry for off-topic, but can you take a look at Homebrew/homebrew-core#68301? |
@Schniz fallback to a x64 version of nodejs would be a choice. x64 nodejs runs well through Rosetta. |
I use n currently to solve the node env management problem. but fnm is my favorite one. so hopefully there will have a solution that works for me. Thanks in advance. |
@7rulnik I will release a new version soon with #368 that should possible fix this issue. That being said, I am not sure about fnm for building from source, so I don't know how it would help. Still need to consider if we want to allow building from source, and if we do, understand how to do that 😄 |
I found this problem looking for something that can help me out of slow nvm load speeds. Does this project have no option to compile from source? Another M1 user here and I quite like that NVM can just compile node when no bin is available |
Right now it does not. I would consider accepting a contribution that adds this feature (it feels like a massive maintaining burden, but maybe I'm afraid for nothing). Anyway, in my current workflow, I don't find myself in need of compiling for source, and it does not sound very interesting to build, so I don't see myself building it. If someone wants to chime in and make fnm optionally build from source, let me know! |
https://github.com/nodenv/node-build |
fnm v1.24.0 now installs the x64 version which Rosetta can run. 😃 |
@Schniz node 16 just released with prebuilt binaries for darwin-arm64 As I understand it can be installed via
|
not a bug but just some notice.
Since nodejs.org hasn't release a darwin-arm64 binary, fnm cannot download the target binary line
https://nodejs.org/dist/latest/node-v15.6.0-darwin-arm64.tar.xz
.And also, node.js currently only support apple silicon after version v15.x, if no further updates on lower versions, some testing will be failed(like install node v12.x).
refer: nodejs/build#2474
related pr: #368
The text was updated successfully, but these errors were encountered: