Solution:
1. First, the installation directory should be free of spaces and Chinese
2. Check whether the administrator permission is turned on and check the steps
3. Change environment variables
NVM_HOME
should be the installation directory of nvm, such as C:\development\nvm
NVM_SYMLINK
should be the directory of nodejs, as follows
should be C:\development\NVM\v16.13.0
note that both user variables and system variables need to be changed, and then OK OK
4. Close the terminal, reopen it, and then use NVM use
.
Read More:
- NVM ERROR open \settings.txt: The system cannot find the file specified
- DevC++ Error: [Error] Id returned 1 exit status [How to Solve]
- vscode: Error loading workspace: err: exit status 1: stderr: build flag -mod=readonly only valid
- VSCode Error: collect2.exe:error:1d returned 1 exit status [How to Solve]
- Dev C++ Error: error: ld returned 1 exit status [How to Solve]
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- [Solved] VsCode + gfortran Compiler Error: error: ld returned 1 exit status
- VSCode Error: collect2.exe: error: ld returned 1 exit status
- GCC Error:(.text+0x24): undefined reference to `main‘collect2: error: ld returned 1 exit status [Solved]
- [Solved] VScode Error: undefined reference to ‘WinMain’ collect2.exe: error: ld returned 1 exit status
- [Solved] error getting credentials – err: exit status GDBus.Error:org.freedesktop.DBus.Error.ServiceU
- docker load Error processing tar file(exit status 1): archive/tar: invalid tar header
- After SpringBoot starts, exit the console directly and display Process finished with exit code 1
- Android Studio Warning: Process ‘command ‘git‘‘ finished with non-zero exit value 1
- IDEA Error: clear read-only status [How to Solve]
- [Solved] IOS Error: Command MergeSwiftModule failed with a nonzero exit code
- [Solved] prometheus Exception Exit Error: opening storage failed
- [Solved] Mac M1 Brew install Error: Command failed with exit 128:git
- [Solved] no identity found – Command CodeSign failed with a nonzero exit code
- [Solved] Verdi Crash Error: ICE default IO error handler doing an exit(), pid = 3475, errno = 32