Closed arcaderob closed 1 week ago
it's node itself that does not support arm macs. You need to use rosetta.
@jdx - Thanks for the quick reply!
@jdx - I have opened iTerm2 with Rosetta enabled, but it is still showing warnings when trying to install that version of node. I have verified that Rosetta is installed and that the arch is i386
@jdx - I have opened iTerm2 with Rosetta enabled, but it is still showing warnings when trying to install that version of node. I have verified that Rosetta is installed and that the arch is i386
Try arch -x86_64 mise install node@14.17.3
Try
arch -x86_64 mise install node@14.17.3
Still not working. I'm receiving:
% arch
i386
% arch -x86_64 mise install node@14.17.3
arch: posix_spawnp: mise: Bad CPU type in executable
One thing you can do is download the archive from the website and extract it to ~/.local/share/mise/installs/node/14.17.3
. Then clear the cache via mise cache clear
and the version should show up in mise ls
and work as expected (via Rosetta).
the docs explain how to use rosetta: https://mise.jdx.dev/tips-and-tricks.html#macos-rosetta
Describe the bug I am trying to install and older version of Node (14.17.3) on a new MBP running am M3 chip. It is exiting with this error:
To Reproduce run
mise install node@14.17.3
Expected behavior It installs the version of Node
mise doctor
outputAdditional context