반응형
react 프로젝트를 새로 생성했을때 발생했던 문제입니다.
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.
해결방안
$ npm install --save-dev @babel/plugin-proposal-private-property-in-object
참고
반응형
'React > React' 카테고리의 다른 글
[ React ] Module not found: Error: Can't resolve ... Error (2) | 2023.12.07 |
---|---|
[ React ] React Dark Mode (1) | 2023.10.05 |
[ React ] react-google-maps/api 사용하기 (1) | 2023.09.18 |
[ React ] React Typescript 기본기 ( Feat. type, interface ) (0) | 2023.09.13 |
[ React ] Warning: Assign arrow function to a variable before exporting as module default import/no-anonymous-default-export (0) | 2023.03.14 |