# ErrorCode

22개의 포스트

오류 코드와 메세지 처리1

오류 메세지를 체계적으로 다루어보자FieldError 생성자FieldError는 두 가지 생성자를 제공한다.파라미터 목록objectName : 오류가 발생한 객체 이름field : 오류 필드rejectedValue : 사용자가 입력한 값(거절된 값)bindingFail

2023년 1월 21일
·
0개의 댓글
·
post-thumbnail

RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code

nodejs express 로 api 작업을 하다가 테스트 중 에러가 발생했다.

2022년 8월 23일
·
0개의 댓글
·
post-thumbnail

Next.js CORS 에러

CORS는 Cross-Origin Resource Sharing의 줄임말로, 한국어로 직역하면 교차 출처 리소스 공유라고 해석할 수 있다.

2022년 7월 29일
·
0개의 댓글
·
post-thumbnail

storybook 실행 에러

nextjs 와 typescript 를 공부해 보려고 설치한 후, storybook 도 사용해보고 싶어서 같이 설치했다.

2022년 7월 22일
·
0개의 댓글
·

[error code]Spring - Controller Missing URI template variable for method

Url 탬플릿의 {reviewid} 과 @PathVariable Long reviewId, 이 두 부분이 상이하여 나오는 오류 였습니다 ~ 작성 할 때에 api 설계시 지정한 변수명을 잘 인지 해서 작성하였는지 한번씩 재검토를 해야겠다는 생각이 듭니다.

2022년 7월 20일
·
0개의 댓글
·
post-thumbnail

Warning: Instance created by useForm is not connect to any Form element. Forget to pass form prop?

Warning: Instance created by useForm is not connect to any Form element.

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

Warning: Functions are not valid as a React child.

함수인데 실행 안하고 render 부분에 코딩한 경우이다.

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

Warning: Can't perform a React state update on an unmounted component.

Warning: Can't perform a React state update on an unmounted component.

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

Maximum update depth exceeded. ...

maximum update depth exceeded

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

Router.use() requires a middleware function but got a Object

router를 모듈로 export해주지 않아서 발생한 에러.

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

Promise { pending } 에러

결과가 Promise로 만들어진 함수니까 비동기 형식으로 접근해야 한다.

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

Manifest: Line: 1, column: 1, Syntax error

manifest.json 파일을 지운 상태라면, index.html 에서 윗 부분을 주석 처리해주면 된다.

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

If you meant to render a collection of children, use an array instead.

If you meant to render a collection of children, use an array instead.

2022년 7월 10일
·
0개의 댓글
·
post-thumbnail

Expected an assignment or function call and instead saw an expression no-unused-expressions

에러의 발생 원인은 map() 메서드를 사용할때 주의점과 동일하다

2022년 6월 15일
·
0개의 댓글
·
post-thumbnail

Diff is not a function in Moment.js

diff(...) 는 moment object 에서만 사용가능하다.

2022년 6월 15일
·
0개의 댓글
·
post-thumbnail

크롬 자동재생 정책/[Chrome] Autoplay policy

웹앱 테스트 중 오디오 자동재생 기능을 써야하는데, 크롬 자동재생 정책에 의해 불가능한 상황이 있었다

2022년 6월 15일
·
0개의 댓글
·
post-thumbnail

Cannot convert undefined or null to object

undefined이나 null일때의 처리를 해주지 않아서다.

2022년 6월 15일
·
0개의 댓글
·
post-thumbnail

Cannot add or update a child row: a foreign key constraint fails

SQL 에서 이 오류가 뜨는 이유는 '참조 무결성'을 위배했기 때문이다.

2022년 6월 15일
·
0개의 댓글
·

Rest API Code 관리하기

Rest API Response Message Code 관리하기

2022년 3월 7일
·
0개의 댓글
·

Error: listen EADDRINUSE: address already in use ::: {port number}

발생상황 리눅스 환경에서 개발중인 앱의 서버를 nodemon이나 node 명령어를 통해 port에 연결하려고 할 때 발생 해결방법 터미널에서 진행/ linux기준/ 이탤릭체는 변수 sudo lsof -i :portNumber 입력. 사용자가 사용을 원하는 port를 현재 사용중인 프로그램 PID번호 찾기 kill -9 pidNumber 연결된 프로그램...

2021년 9월 8일
·
0개의 댓글
·