728x90
728x90
회사에서 소셜 로그인 및 회원가입 라이브러리를 만들라고 해서 새로운 react 프로젝트를 생성 후 실행시키니,,
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AppData\Local\npm-cache\_logs\2024-02-02T02_41_39_969Z-debug-0.log
PS C:\SNS\module\react-kakao> npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\SNS\module\react-kakao/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\SNS\module\react-kakao\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
이런 에러가 떠서 뭐지뭐지,,!!
하다가 검색해보니,, 경로 오류였다,,
새로운 프로젝트를 생성할 때 플젝명을 입력하면서 디렉토리가 생겼다는걸 잊고 있었다,,🤣
npm i or npm start 처럼 명령어를 터미널에 입력했을 때
-4058 에러가 뜨면 경로를 먼저 확인해보자~!
728x90
728x90
'React > error' 카테고리의 다른 글
| [Warning] Warning: Each child in a list should have a unique "key" prop. (1) | 2024.01.15 |
|---|---|
| [Warning] value prop on select should not be null. (2) | 2024.01.11 |
댓글