Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fallback on x64 build for node<16 on macOS #297

Closed
maxmelamed opened this issue Dec 21, 2021 · 1 comment
Closed

Fallback on x64 build for node<16 on macOS #297

maxmelamed opened this issue Dec 21, 2021 · 1 comment

Comments

@maxmelamed
Copy link
Contributor

maxmelamed commented Dec 21, 2021

NodeJS does not have darwin-arm64 builds for versions older than 16, so if you try to run nodeenv --node=14.18.1 on an M1 mac, you end up getting a 404 from this request.
In these cases, I'd like to propose falling back on the darwin-x64 build to run under emulation. Happy to open a quick PR for this as well. Thanks!

@maxmelamed
Copy link
Contributor Author

@ekalinin I see there's some discussion of this issue in #283 where you suggest simply using newer versions of node, but there are some cases where an older version is needed. What do you think?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant