본문 바로가기
카테고리 없음

Error: Interpreter ~~\node_modules\.bin\ts-node is NOT AVAILABLE in PATH. (type 'which ~~\node_modules\.bin\ts-node' to double check.)

 

1. 글로벌 pm2와 프로젝트 pm2 겹쳐서 프로젝트에 설치된 pm2를 제거하고

             npm uninstall pm2

2. pm2전용 typescript를 설치해야함

             pm2 install typescript

 

이러면 정상작동함