본문 바로가기

Typescript & React/npm error path

npm error path C:\Users\USER\AppData\Roaming\npm

728x90

cmd 창

원인: C:\Users\USER\AppData\Roaming\npm 경로에 npm이 없다.

해결: 해당 경로에 npm 이라는 이름의 폴더를 수동으로 생성하여 문제를 해결 ->

npm install npm -g
728x90