오류노트22-05-12

쿠고냥(KuruCat)·2022년 5월 13일
0

1.axios의 get을 받아오는 과정에서 그 응답을 바로 html태그로 전달했더니 나오는 태그. 역시 docs를 잘보고 써야한다. axios docs에 나온 reponce처리방법대로 실행하였더니 정상적으로 응답을 받아올 수 있었다.

Unhandled Runtime Error
Error: Objects are not valid as a React child (found: object with keys {data, status, statusText, headers, config, request}). If you meant to render a collection of children, use an array instead.

2.임포트.또 import.


Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

  1. input의 빈태그에 값을 입력하면 이런 오류를 발견할 수 있다.
Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.

  1. 코드에 브라켓 >> } <<를 제대로 닫지 않아서 생긴 오류
    GraphQLError: Syntax Error: Expected Name, found <EOF>.

  2. example.codebootcamp.co.kr/graphql:1 Failed to load resource: the server responded with a status of 400 (Bad Request) index.js?aa3d:29 Uncaught (in promise) Error: Response not successful: Received status code 400

profile
FEdeveloper목표로 공부중

0개의 댓글