일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Graph
- Python
- network
- LeetCode
- 다이나믹 프로그래밍
- 백준
- BFS
- VIM
- Database
- frontend
- 그레이들
- DP
- 안드로이드
- Algorithm
- Javascript
- TypeScript
- git
- Data Structure
- Redux
- 프로그래머스
- vscode
- CS
- java
- 리트코드
- 자바
- react
- db
- 알고리즘
- 동적 계획법
- DFS
Archives
- Today
- Total
늘 겸손하게
React - Module not found: Can't resolve '@mui/material/utils' : (v5, which included a name change.) 본문
Programming/React
React - Module not found: Can't resolve '@mui/material/utils' : (v5, which included a name change.)
besforyou999 2022. 7. 12. 22:33React MUI 라이브러리를 사용하려는 도중 ../Papers 모듈을 못 찾겠다는 에러가 무수히 출력되었습니다. 찾아보니 MUI icons package를 MUI component library보다 먼저 설치하여 발생하는 문제랍니다.
해결책
아래 코드로 필요한 패키지를 설치합니다
// with npm
npm install @mui/material @emotion/react @emotion/styled
// or if you prefer yarn
yarn add @mui/material @emotion/react @emotion/styled
'Programming > React' 카테고리의 다른 글
React - react-router-dom - useHistory + 데이터 전달 (0) | 2022.07.13 |
---|---|
React - MUI Accordian 스타일 접기/펼치기 버튼 (0) | 2022.07.12 |
React - 버튼 + Link 컴포넌트 ( 버튼 클릭 -> 다른 페이지로 이동 ) (0) | 2022.07.09 |
React - Warning: Maximum update depth exceeded (0) | 2022.07.09 |
React 함수형 컴포넌트, 클래스형 컴포넌트 (0) | 2022.07.09 |