command not found: tsc 에러 해결방법

command not found: tsc 에러 해결방법

위와 같이 에러가 발생한다면,

npm install typescript -g 을 입력해줍니다.

(해결이 되지 않는다면, nodejs를 재설치한 뒤 다시 npm install typescript -g을 실행합니다.)

다시 tsc --version을 입력하면 정상적으로 해결된것을 확인하실수있습니다.

728x90

from http://choseongho93.tistory.com/269 by ccl(A) rewrite - 2021-04-11 14:00:08