npm install error : npm ERR! code ENOENT

jellykelly·2024년 5월 22일

Resolve errors

목록 보기
3/3
post-thumbnail

뭐든지 install이 제일 어렵다...😥

Error message

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path '어쩌구저쩌구경로'/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '어쩌구저쩌구경로/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

구글링해보니 경로가 안맞아서 어쩌구저쩌구....
그럼 싹 지워버려!

Solution

npm init 실행 후 Is this OK? (yes) 메세지 출력까지 계속 enter

다시 npm install 실행

profile
Hawaiian pizza with extra pineapples please! 🥤

0개의 댓글