
<aside> 💡
One of your dependencies, babel-preset-react-app, is importing the
"@babel/plugin-proposal-private-property-in-object" package without
declaring it in its dependencies. This is currently working because
"@babel/plugin-proposal-private-property-in-object" is already in your
node_modules folder for unrelated reasons, but it may break at any time.
babel-preset-react-app is part of the create-react-app project, which
is not maintianed anymore. It is thus unlikely that this bug will
ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
your devDependencies to work around this error. This will make this message
go away.
의존성 중 하나인 babel-preset-react-app이 다음을 가져오고 있습니다. "@babel/plugin-proposal-private-property-in-object" 패키지 없이 종속성에서 선언합니다. 이것은 현재 작동 중입니다. "@babel/plugin-proposal-private-property-in-object"는 이미 귀하의 node_modules 폴더는 관련 없는 이유로 삭제되지만 언제든지 중단될 수 있습니다.
babel-preset-react-app은 create-react-app 프로젝트의 일부입니다. 더 이상 유지되지 않습니다. 따라서 이 버그는 절대 고정. "@babel/plugin-proposal-private-property-in-object" 추가 이 오류를 해결하려면 devDependencies를 사용하십시오. 이것은 이 메시지를 만들 것입니다
</aside>
구글링해도 정확한 원인은 알 수 없으나, babel 이 패키지 없이 존재하고 plugin을 설치해서 가지고 있으라는 이야기 같았다.
📌 해결방법
npm install --save-dev @babel/plugin-proposal-private-property-in-object --legacy-peer-deps

package-lock.json

package.json
📌 참고 사이트