• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

post 무한로딩

20.12.04 01:14 작성 조회수 387

0

(node:15956) UnhandledPromiseRejectionWarning: SequelizeDatabaseError: Unknown column 'Followers->Follow.FollowingId' in 'field list'

(node:15956) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

(node:15956) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js 

process with a non-zero exit code.

로그인을 눌렀을때 계속 로딩중입니다.

조금 기다리면 터미널에 이런 오류가 뜹니다.

어디쪽에서 잘못된건지 모르겠어요  ㅠㅠ

답변 6

·

답변을 작성해보세요.

1

카테고리 테이블을 만들고 포스트 테이블에 카테고리 외래키를 추가하시면 됩니다.

1

react-quill같은 라이브러리 쓰시면 됩니다. ssr이 안 돼도 돼서 자유롭게 붙일 수 있습니다.

1

워크벤치에서 Follow 테이블을 확인해보세요. FollowingId 컬럼이 생성되지 않은 것 같습니다. Follow 테이블을 지웠다가 다시 서버 재시작하면 정상적으로 테이블이 생성될 겁니다.

0

pokill님의 프로필

pokill

질문자

2020.12.24

선생님 !! mainPosts 하나가 아닌 선생님 블로그처럼 여러 카테고리별로 메뉴를 나눠서 포스트를 작성 할 경우 어떤 개념을 공부해야 하나요? 

0

pokill님의 프로필

pokill

질문자

2020.12.09

선생님 강의외 질문이지만 혹시나 next.js 에서 텍스트에디터를 사용할 수 있는 방법이 있나요?

0

pokill님의 프로필

pokill

질문자

2020.12.04

하루죙일 못푼거 바로 해결되네요 감사합니다ㅠㅠ