logo

Can't find Node.js binary "node": path does not exist. Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in your launch.json

language-logoNodeJS

• vscode에서 디버깅 시 에러가 발생하면, node가 설치된 위치를 찾아서 launch.json에 runtimeExecutable을 지정해주면 해결할 수 있다.
• 프로젝트 터미널에서 `which node`를 입력하면 node의 경로를 알 수 있다.
• 이 경로를 복사하여 launch.json 파일에 runtimeExecutable key에 붙여넣어준다.
• 이렇게 설정하면 vscode에서 디버깅 시 node의 경로를 찾아 실행할 수 있게 된다.

thumbnail
북마크
공유하기
신고하기
1분 분량
조회수 496
profile-image아이들미연
2년 전
Copyright © 2025. Codenary All Rights Reserved.