• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

로그인에서 막혔네요

22.06.30 10:26 작성 조회수 129

0

강사님 안녕하세요 잘 따라서 하고 있는데요.. 로그인에서 에러가 나서요 한번 봐주실수 있을 까요??
 
계정 등록까지는 했는데 등록한 계정으로 로그인시도 하면 아래와 같이 에러가 나는데요.. 도무지 원인을 찾을수가 없어서요 다음 진행을 못하고 있습니다. 한번 봐주시면 감사하겠습니다.
 
MongoDB Connected... isMatch undefined isMatch undefined _http_outgoing.js:561 throw new ERR_HTTP_HEADERS_SENT('set'); ^ Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at new NodeError (internal/errors.js:322:7) at ServerResponse.setHeader (_http_outgoing.js:561:11) at ServerResponse.header (D:\projects\boiler\node_modules\express\lib\response.js:794:10) at ServerResponse.send (D:\projects\boiler\node_modules\express\lib\response.js:174:12) at ServerResponse.json (D:\projects\boiler\node_modules\express\lib\response.js:278:15) at D:\projects\boiler\index.js:57:20 at D:\projects\boiler\models\User.js:60:30 at D:\projects\boiler\node_modules\bcrypt\bcrypt.js:210:13 at processTicksAndRejections (internal/process/task_queues.js:77:11) { code: 'ERR_HTTP_HEADERS_SENT' }

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!