-
카테고리
-
세부 분야
풀스택
-
해결 여부
미해결
연결은 된거같은데 다른문구가 떠서 어떤문제인지 알고싶습니다.
21.03.06 01:33 작성 조회수 903
0
(node:10348) 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:10348) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.
MongoDB Connected...
번역해서 보면 경고라고는 하는데 왜뜨는지 궁금해서 질문합니다
답변을 작성해보세요.
0
dev-ujin
2021.03.08
저도 같은 경고가 떠서 궁금해서 찾아봤는데 버전 때문인 것 같아요!
몇몇 사람들은 mongoose를 5.11.15로 다운그레이드해서 해결했다고 해요.
https://github.com/Automattic/mongoose/issues/9900
mongoDB측에서는 무시해도 될 경고라고 커멘트 남겼길래 저도 그냥 무시하고 넘어갔습니다.
https://developer.mongodb.com/community/forums/t/warning-accessing-non-existent-property-mongoerror-of-module-exports-inside-circular-dependency/15411
답변 1