강의

멘토링

커뮤니티

Inflearn Community Q&A

dayom's profile image
dayom

asked

A real introductory all-in-one development boot camp for non-majors

Understanding Node & NPM

D:\Webcoding\javascript>node test.js 'node'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.

Written on

·

433

1

npm 잘 설치해서 cmd 창에서도 잘 되는 것 확인했는데

VSC에서 test.js 파일 작성하고 터미널에서 node test.js

치면

D:\Webcoding\javascript>node test.js

'node'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.

이런 오류 메세지가 나오네요..

react-nativereactjavascriptnodejs머신러닝 배워볼래요? HTML/CSSexpresstensorflow

Answer 2

0

grab님의 프로필 이미지
grab
Instructor

아래 링크 따라서 작업해보시겠어요?

명령어를 입력하는 shell도 종류가 있는데, 기본 터미널과 vscode 터미널 종류가 달라서 발생하는 문제 같습니다!
따라서 Vscode의 shell인 powershell에서 기본 cmd로 바꿔보심을 제안합니다 :)


https://www.youtube.com/watch?v=krtt0fr92ck&ab_channel=%EA%B3%B5%EB%B6%80%ED%95%98%EB%8A%94%EA%B0%9C%EB%B0%9C%EC%9E%90%EB%93%A4

0

dayom님의 프로필 이미지
dayom
Questioner

cmd로는 잘 되어있습니다.

dayom's profile image
dayom

asked

Ask a question