zsh: command not found: tsc

효딩딩·2023년 6월 1일
0

오류를 해결하기 위해 TypeScript를 전역적으로 설치

방법 오류

npm install typescript@latest -g

방법2 해결

sudo npm install typescript@latest -g
> 비번입력 
tsc --v
tsc --init 

참고
https://bobbyhadz.com/blog/typescript-tsc-command-not-found

profile
어제보다 나은 나의 코딩지식

0개의 댓글