Am I developer?!

  • 홈
  • Docker

react 7

'Switch' is not exported from 'react-router-dom' 에러

공식문서에서 확인해보니 swich 에서 routes로 바꾸란다. ㅡㅡ 한참을 해맸네.. -기존 -변경 Upgrade all elements to React Router v6 introduces a Routes component that is kind of like Switch, but a lot more powerful. The main advantages of Routes over Switch are: All s and s inside a are relative. This leads to leaner and more predictable code in and Routes are chosen based on the best match instead of being traversed in order. Th..

ERROR/react 2022.03.13

TypeError: this.cliEngine is not a constructor

1. node_modules/eslint 삭제. 터미널 npm uninstall eslint 2. package.json devDependencies의 eslint 버전을 아래와 같이 수정 ... "devDependencies": { "eslint": "^5.16.0" } ... npm install ---출처 https://github.com/eslint/eslint/issues/11957 TypeError: this.cliEngine is not a constructor · Issue #11957 · eslint/eslint Tell us about your environment **ESLint Version: v6.0.1 **Node Version: v10.13.0 **npm Version: v6...

ERROR 2022.03.04
이전
1 2
다음
더보기
프로필사진

Am I developer?!

#Java #React #JavaScript 개발쪽에 관심이 있습니다.

공지사항

최근글과 인기글

  • 최근글
  • 인기글
  • 분류 전체보기 (51)
    • BACK-END (7)
      • Spring boot (2)
      • Java (3)
      • JPA (1)
      • Python (0)
      • NodeJs (0)
    • FRONT-END (2)
      • React (2)
      • JavaScript (0)
      • HTML (0)
      • jQuery (0)
      • Thymeleaf (0)
    • NETWORK (1)
      • CI (0)
    • ERROR (18)
      • Security (1)
      • react (4)
    • DBMS (1)
      • ORACLE (0)
      • MySQL (0)
    • TIPS (2)
    • STUDY (11)
      • SQLD (5)
      • 자격증 (2)
    • NAS (0)
    • DOCKER (9)

Calendar

«   2026/04   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

  • Github
  • React
  • 모던 JavaScript
  • netlify
  • mui

티스토리툴바