⚛️ 기본 환경: IDE: VS code, Language: React
발생 Error
React를 실행하고자, 터미널에서 다음 명령어를 입력할 경우,

🚨 다음과 같은 Error 발생
npm ERR! A complete log of this run can be found in: 
npm ERR!     C:\Users\user\AppData\Local\npm-cache\_logs\2023-05-24T01_17_19_007Z-debug-0.log 
발생 원인
React 파일이 존재하지 않은 경로에서 npm 설치 시도
해결 방법
React 파일이 존재하지 폴더로 이동 후 npm 설치

+ 올바른 경로에서 npm install 시, 동일한 error가 발생 했을 경우,

참고 자료
[Npm Error] A complete log of this run can be found in:
안녕하세요. 디자인도 하고, 개발도 하는 '디발자 뚝딱'입니다. vscode 터미널에 npm install 혹은 npm i를 입력했을 때 npm ERR! A complete log of this run can be found in: 라는 에러 문구가 뜰 때가 있습니다. 매
anerim.tistory.com
'JavaScript > React with Error' 카테고리의 다른 글
| [해결 방법] TypeError: Cannot read properties of undefined (reading 'isLoggedIn') (0) | 2023.06.03 | 
|---|---|
| [해결 방법] Encountered two children with the same key (0) | 2023.06.01 | 
| [해결 방법] TypeError: Cannot read property 'rating' of undefined (0) | 2023.05.21 | 
| [해결 방법] Adjacent JSX elements must be wrapped in an enclosing tag (0) | 2023.05.18 | 
| [해결 방법] TypeError: Cannot read property 'map' of undefined (0) | 2023.05.15 | 



















