리액트와 스프링 연동을 위해 리액트 설정을 하는 와중, create-react-app의 종속 설정을 꺼내기 위해
npm run eject 명령어를 실행했는데 아래와 같은 오류가 발생했다.
git과 관련된 오류로 현재 폴더를 커밋해줘야 문제가 해결된다.
커밋 방법은 아래와 같다.
git add .
git commit -m "쓰고싶은 내용"
전과 달리 성공적으로 npm run eject 명령어가 실행되는 것을 확인할 수 있다.
'프로젝트' 카테고리의 다른 글
[Spring boot + React] 게시글 작성하기(다중 파일 업로드 포함) (0) | 2023.08.09 |
---|---|
[프로젝트] Spring boot, MySQl, JPA 연결 (0) | 2023.07.28 |
[Project]Spring React 통신 간 JSON 파싱 (0) | 2023.07.27 |
[SpringBoot/React] JSON 교환 (0) | 2023.07.06 |
[프로젝트]React + Spring Boot 연동 (0) | 2023.07.05 |