codestates / codestates/memory.json
[Error] 라우터 분기후 실행시 에러발생
- Langage dominant
- JavaScript
- Étoiles
- 1
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### **어떤 에러인가요?**
- 라우터분기가 잘되었는지 확인 하기 위해, `npm run start`를 했지만 아래와 같은 에러가 났다.
### **에러 메시지**
`1. React.jsx: type is invalid -- expected a string (for built-in components) or a class/function`
### **에러 핸들링 방법**
- 위 에러가 뜬다면
- **1. 인자 타입을 잘못 받고 있는지 확인**
- **2. 컴포넌트명에 오타 또는 소문자/대문자가 정확한지**
- **3. export import 쌍을 이루고 있는지 확인**
- 저와 같은 경우는 프로젝트 초기여서 , Nav와 Footer에 파일 내용은 안적은채 import를 하고 있어서 문제가 일어났다. Main , Board , LandingPage는 작성해놔서 문제가 없었지만 저 두개를 간과하고 있엇네.... 신나는 시간낭비... 쉣. ..ㅠㅠㅠ 감사합니다 팀장님
`// 코드가 들어가도 좋아요!`
### **에러 핸들링을 위해 참고한 레퍼런스 링크**
[[링크](https://github.com/codestates/Memory.log-Client/issues/19)](https://github.com/codestates/Memory.log-Client/issues/19)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by running `npm run start`, then inspect the router's `Nav` and `Footer` imports and exports; the issue does not name source files. Confirm that those components contain valid implementations and that the application starts without the reported React type error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, react
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100