我有一个疑问
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
当我使用猫鼬时,我收到了上述警告。如何清除它们?
原文由 Srinath Merugu 发布,翻译遵循 CC BY-SA 4.0 许可协议
在我的例子中,只是运行
npm update
确实解决了问题