메인프로젝트 진행
Beer List 페이지 제작, 태그 버튼.
sign up
발생된 문제, BeerRequest에서 이미 사진이 들어가 있는 경우나, 사진이 없을 때, submit을 눌렀을때 Error 발생.
index.jsx:13 Uncaught TypeError:
Failed to execute 'readAsDataURL' on 'FileReader':
parameter 1 is not of type 'Blob'.
사진이 이미 있을때,
index.jsx:16 Uncaught TypeError:
Cannot set properties of null (setting 'src')
at fileReader.onload (index.jsx:16:45)
팀원의 작업물을 pull받아 npm install을 실행했을 때, npm ERR! code ERESOLVE
오류 발생, 메시지를 읽어보고 npm install --legacy-peer-deps
로 문제 해결, 원인은 버전 문제로 추정.