Skip to content

Conversation

@malice00
Copy link

This fixes #3616 by not having the architecture hardcoded to x64-musl, but instead appending the -musl part to the architecture that was already found.
I am unable to supply tests, since the tarball I want to have loaded only exists on a private server. But the existing alpine-test should still work -- couldn't test this because the test would generally not run on my machine, probably because I am generally using nvm.

@ljharb
Copy link
Member

ljharb commented Jul 29, 2025

Are you saying that there's no publicly available node distribution for this use case?

@malice00
Copy link
Author

malice00 commented Jul 29, 2025

Only the x64 version on node's unofficial-project.

Project: https://github.com/nodejs/unofficial-builds
Tarballs: https://unofficial-builds.nodejs.org/

@malice00
Copy link
Author

malice00 commented Jul 30, 2025

So, we decided to make our builds publicly available. Still not sure on how to add a test, but local testing works with this URL: https://raw.githubusercontent.com/appthreat/nodejs-unofficial-builds/master/dists/. Currently it only contains v24.3.0 for both alpine arm64 and x64.

@ljharb
Copy link
Member

ljharb commented Jan 20, 2026

Could you just name it "x64" on your custom mirror, and install it that way, without any changes to nvm?

@ljharb ljharb marked this pull request as draft January 20, 2026 22:02
@malice00
Copy link
Author

Unfortunately, no, because we also use the actual x64 from there.

@ljharb
Copy link
Member

ljharb commented Jan 20, 2026

ok - i'm willing to accept this if there's added unit tests for nvm_get_arch that cover it :-)

@malice00
Copy link
Author

I'll see what I can do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to install arm64 version of nodejs on alpine

2 participants