반응형
react를 최신버전으로 업데이트를 하기위해
npm install react@latest react-dom@latest
입력했더니 해당 문제가 발생했다.
설치하려는 폴더에 설치가 되어있어 발생할 가능성이 높다.
폴더에 있는 node_modules, package-lock.json 삭제 후 재설치 하자
반응형
'Front > react' 카테고리의 다른 글
[React] Typo in static class property declaration 해결 (0) | 2022.04.13 |
---|---|
prop-types 설치하기 (0) | 2022.04.13 |
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images 경고 (0) | 2022.04.11 |
react 18 렌더링 변화 (0) | 2022.04.07 |
React jsx구조 (0) | 2022.03.27 |