Can't install legacy on Apple M2
DavidLozzi opened this issue · 2 comments
DavidLozzi commented
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 commented
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 commented
Got it to install using the add command and specifying the architecture:
nvs install 10.22.1./x64