-
카테고리
-
세부 분야
풀스택
-
해결 여부
미해결
몽고 db 연결시 오류가 발생합니다.
21.03.09 22:37 작성 조회수 208
0
안녕하세요. 열심히 배우고 있습니다. 몽고 db연동에서 에러는 아닌것 같은데 아래와 같은 경고가 떠서 다음진도를 따라잡지 못하고 있습니다. 좋은 강의를 무료로 제공해주셔서 정말 감사합니다. 혹시 해결할 방법이 있을 까요?
(node:6596) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Example app listening on port 5000
(node:6596) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.
MongoDB Connected...
}
답변을 작성해보세요.
0
John Ahn
지식공유자2021.03.10
검색해보니
버전 문제 인것 같은데
npm install mongoose@5.11.15
이렇게 해서 몽고디비 모듈을 다시 받아보시겠나요?
답변 1