개발/Node js

nvm exit status error solution

재근이 2021. 10. 22. 12:57
반응형
There are 3 solutions for nvm errors in Windows environment.
  1. Install using scoop
  2. Check install path
  3. Run as administrator

Install using scoop

I don't know what the problem is, I just want to fix it.
Then reinstall with scoop.

Do the 3 steps below

1. Open "Windows PowerShell

2. Install "Scoop" using command

Set-ExecutionPolicy RemoteSigned -scope CurrentUser 
$env:SCOOP = 'C:\Scoop'
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

3. Install "nvm" using command

scoop install nvm
nvm install latest
// or nvm install lts
// or nvm install 16.11.1      (version)

 


Check install path

Spaces or special characters in the path can be a problem.


Run as administrator

If it's a permissions issue, not an installation issue.

반응형