小编Sri*_*ugu的帖子

使用mongoose时如何清除节点js中的警告

我有疑问

in The Web Developer Bootcamp course from section 29,304 module
(node:15807) Warning: Accessing non-existent property 'count' of module exports inside circular dependency

(Use node --trace-warnings ... to show where the warning was created)

(node:15807) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency

(node:15807) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency

(node:15807) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
Run Code Online (Sandbox Code Playgroud)

当我使用猫鼬时,我收到了上述警告。如何清除它们?

在此处输入图片说明

mongoose mongodb node.js

22
推荐指数
3
解决办法
3万
查看次数

标签 统计

mongodb ×1

mongoose ×1

node.js ×1