react-codelab-project icon indicating copy to clipboard operation
react-codelab-project copied to clipboard

로그인 시 에러가 발생합니다.

Open edoko opened this issue 8 years ago • 3 comments

정확히는 로그인 할 때, 다른 유저네임과 비밀번호를 입력했을 때, 뷰 상에서 나와야할 에러메세지가 뜨질 않고 가만히 있습니다. 그리고 콘솔창에서 아래와 같은 에러 메세지가 뜹니다. ` bundle.js:31274 Uncaught (in promise) Error: Actions may not have an undefined "type" property. Have you misspelled a constant?

at dispatch (bundle.js:31274)
at bundle.js:35340
at dispatch (bundle.js:32025)
at bundle.js:32470
at <anonymous>

`

해결 방법이 있을까요?

edoko avatar Jul 31 '17 03:07 edoko

저도 같은 에러 발생하는데 혹시 해결하셨나요 ~?

hyowoo avatar Jan 21 '18 12:01 hyowoo

@hyowoo 아뇨, 해결 못했습니다 ㅠㅠ

edoko avatar Jan 22 '18 01:01 edoko

지금 해결하셨는지 모르겠지만 .. actions - ActionTypes.js 보시면 오타가 있습니다. export const AUTH_LOGIN_FAIL"I"URE = "AUTH_LOGIN_FAILURE"; export const AUTH_LOGIN_FAILURE = "AUTH_LOGIN_FAILURE"; 이걸로 바꾸시면 오류 안생길꺼에요.. 이거 해결하려고 하루종일 코드 봤더니 머리 아프네여 ㅠㅠ

Beatnik01 avatar Apr 28 '18 13:04 Beatnik01