[err]@babel/plugin-proposal-private-property-in-object

띠로·2023년 11월 28일

❌ ERROR

목록 보기
2/2

npm install 실행 시 발생하는 @babel/plugin-proposal-private-property-in-object" 오류

🔴 오류코드

webpack compiled with 1 warning
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
해당 코드를 설치하면 됨.

profile
🍀 개발자로 급커브한 인문학도의 기록 공간 | 2023.07.17~ 🍀

0개의 댓글