오류모음

warning package.json: No license field

테오구 2022. 1. 2. 15:52
728x90
더보기

The react-scripts package provided by Create React App requires a dependency:     

  "babel-loader": "8.1.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-loader was detected higher up in the tree: 

react가 오래되어서 발생한 문제이다.

babel-loader를 "8.2.3"으로 업데이트 해주자

 

npm의 경우

npm uni babel-loader

최상단 이동 후 바벨 삭제

8.1.0으로 설치

npm i babel-loader@8.1.0 -D

 

yarn의경우

yarn create react-app 

yarn.lock의 babel-loader를 8.2.3으로 업데이트

728x90