🐨CoalaCoding
DocsExamplesTry itBoardB반
🐨CoalaCoding

개발자를 위한 한국어 웹 기술 문서

문서

  • JavaScript
  • Web Publishing
  • React
  • Python

커뮤니티

  • 게시판
  • 예제 모음
  • Try it 에디터

기타

  • GitHub
  • 관리자
© 2026 CoalaCoding. All rights reserved.
  • 01_노드버전-여러개-설치하기
  • 02_graphql이-뭐야
  • 03_종속성-모듈을-최신버전으로-업데이트하기
  • 04_의존성버전-오류-해결법
  • 05_errno--13
  • 06_모듈-커스텀하기
  • 07_캐시삭제
  • 08_one-of-your-dependencies-babel-preset-react-app
  • 09_npm--이-시스템에서-스크립트를-실행할-수-없으므로-cprogram-filesnodejsnpmps1-파일을
  1. 홈
  2. 문서
  3. Backend
  4. Node.js
  5. 08_one-of-your-dependencies-babel-preset-react-app

08_one-of-your-dependencies-babel-preset-react-app

이슈 트래킹

코드 블록의 Try it Yourself 버튼으로 직접 실행할 수 있다.

구문

터미널 창에 아래와 같은 메시지가 뜰때

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 y
node_modules folder for unrelated reasons, but it may break at any 
babel-preset-react-app is part of the create-react-app project, whi
is not maintianed anymore. It is thus unlikely that this bug will
ever be fixed. Add "@babel/plugin-proposal-private-property-in-obje
your devDependencies to work around this error. This will make this
go away.

원인

babel-preset-react-app이 @babel/plugin-proposal-private-property-in-object 패키지를 사용하고 있지만, 이를 자신의 의존성에서 선언하지 않았다는 경고

해결

@babel/plugin-proposal-private-property-in-object를 개발 의존성에 추가

npm install --save-dev @babel/plugin-proposal-private-property-in-object

목차

  • 구문