본문 바로가기

개발/오류

nvm 설치 후 npm 명령어 안먹힐때 (node 지정된 경로를 찾을 수 없습니다.)

 

 

https://github.com/coreybutler/nvm-windows/issues/221#issuecomment-262363222

 

[Help]Cannot run 'node' or 'npm' command after nvm installed · Issue #221 · coreybutler/nvm-windows

I'm trying to install nvm on my windows8.1(64bits). I do as the below orders: Download zip file. Unzip and install it. Configure the env path. Try to run 'nvm v' and it works well. Try ...

github.com

위 링크 참고 후 해결함

 

1. nvm 재설치
   단, NVM_SYMLINK 경로를 바꿔야함. (c:\program files\nodejs → c:\nodejs)

 

2. 관리자권한으로 cmd 실행

 

3. nvm on 입력
   (node와 npm이 새로 지정한 NVM_SYMLINK 폴더로 복사되다)