Closed Live-or closed 3 months ago
node < 16 requires a rosetta terminal; see https://github.com/nvm-sh/nvm?tab=readme-ov-file#macos-troubleshooting in the readme.
Thank you very much for your answer, but I do not want to install Rosetta on my mac, I use the windows version of nvm can solve the problem。
I’m confused why not, and i don’t understand how you’d use the windows version (i assume you mean nvm-windows, which is an entirely different project) on a Mac?
Sorry, I didn't make myself clear, I replaced a window computer and re-installed nvm。
nvm only supports windows on git-bash, cygwin, and WSL2.
Operating system and version:
macOS Sonoma 14.5
nvm debug
output:nvm ls
output:How did you install
nvm
?Download the script and run it manually
What steps did you perform?
nvm install v14.20.0
What happened?
The download failed with the following error:
What did you expect to happen?
node.js version v14.20.0 was successfully downloaded
Is there anything in any of your profile files that modifies the
PATH
?My
PATH
is:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Users/lvjunpeng/Applications/Gradle/gradle-8.1.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/binIf you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/
print out?