Skip to content

Allow any value for arch#1562

Open
mcfedr wants to merge 1 commit into
Schniz:masterfrom
mcfedr:arch
Open

Allow any value for arch#1562
mcfedr wants to merge 1 commit into
Schniz:masterfrom
mcfedr:arch

Conversation

@mcfedr

@mcfedr mcfedr commented May 18, 2026

Copy link
Copy Markdown

The enum is quite limiting as new arches are added and tested, for example there are lots of arches on unofficial-builds.nodejs.org that would work, by setting, FNM_ARCH, but are blocked, given they seem to change quite a bit with differnet node versions, having a allow list is a bit limiting, so i converted it to a String to allow the user to provide any value

this also solves my issue using fnm in alpine linux (#1559), as i can just set

FNM_NODE_DIST_MIRROR=https://unofficial-builds.nodejs.org/download/release/
FNM_ARCH=arm64-musl

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.

1 participant