[오류해결] One of your dependencies, babel-preset-react-app 오류해결 [6/2 study]오류해결2024. 6. 2. 17:08
Table of Contents
One of your dependencies, babel-preset-react-app 오류해결
❗️상황
React 공부중 npm run start하면 성공적으로 실행되지만 아래와 같은 오류와 같이 나옴

❗️원인
보통 해당 오류는 CRA 환경을 지원하지 않는 별도의 라이브러리를 설치하게 될 경우 발생할 수 있음
❗️해결방법
npm install --save-dev @babel/plugin-proposal-private-property-in-object
일단 이게 무슨 코드인지 나도 잘 모름 stackoverflow에서 찾음
나는 MacBook을 사용하고 있어서 앞에 sudo랑 같이 사용함

오류 어디갔지?
❗️참고
babel-preset-react-app, is importing the "@babel/plugin-proposal-private-property-in-object" package without declaring it in its
My issue is that I've tried to create a new React project and after a lot of issues with vulnerabilities, I managed to solve some of them, one of the main instructions was adding this line: "
stackoverflow.com
@동혁이 :: Eun_Frontend
프론트엔드 공부일지 입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!