❗️Error/오류를 해결하자!

Node.js / ENOENT: no such file or directory, open ...

hellohailie 2022. 5. 10. 01:40

Node.js로 npm으로 모듈을 설치해야 할때, 아래와 같은 오류 메세지를 받았다. 

ENOENT: no such file or directory, open ...

 

👇해결하기👇

 

npm은 사용하기 전에는 프로젝트 폴더에서 "npm init"으로 초기 설정을 해줘야 한다.

$ npm init​

 

그리고 Enter만 치고,

 

완료가 되었다면

$ npm install finalhandler​

엔터