Skip to content
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

Can't install legacy on Apple M2 #262

Closed
DavidLozzi opened this issue Oct 24, 2022 · 2 comments
Closed

Can't install legacy on Apple M2 #262

DavidLozzi opened this issue Oct 24, 2022 · 2 comments

Comments

@DavidLozzi
Copy link

I still have a couple of older projects still requiring node 10.22. We are slowly upgrading them all. I got a new Mac Book M2 and it won't install the 10.22 version

% arch -x86_64 zsh
% nvs
Platform package not available for version: node/10.22.1/arm64
@DavidLozzi
Copy link
Author

DavidLozzi commented Oct 25, 2022

I downloaded the linux arm version of 10.22.1, I copy the contents to .nvs/node/10.22.1/arm64/, nvs lets me select it, but then when I try to run npm I get

/Users/david.lozzi/.nvs/node/10.22.1/arm64/bin/node: /Users/david.lozzi/.nvs/node/10.22.1/arm64/bin/node: cannot execute binary file

@DavidLozzi
Copy link
Author

Got it to install using the add command and specifying the architecture:

nvs install 10.22.1./x64

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

No branches or pull requests

1 participant