Problems while updating from 6.x.x to 7.x.x #13180
Unanswered
Ruben-Schadron
asked this question in
Q&A
Replies: 1 comment 4 replies
-
It looks like you're passing a callback to |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I tried to update the package from 6.10.3 to 7.0.2 I started to receive errors
MongooseError: Model.find() no longer accepts a callback at Function.find (C:\Users\user\to\file\node_modules\mongoose\lib\model.js:2041:11) at Client.<anonymous> (C:\Users\user\to\file\src\handlers\audio\radio.js:81:16) at Client.emit (node:events:524:35) at WebSocketManager.triggerClientReady (C:\Users\user\to\file\node_modules\discord.js\src\client\websocket\WebSocketManager.js:385:17) at WebSocketManager.checkShardsReady (C:\Users\user\to\file\node_modules\discord.js\src\client\websocket\WebSocketManager.js:368:10) at WebSocketShard.<anonymous> (C:\Users\user\to\file\node_modules\discord.js\src\client\websocket\WebSocketManager.js:194:14) at WebSocketShard.emit (node:events:512:28) at WebSocketShard.checkReady (C:\Users\user\to\file\node_modules\discord.js\src\client\websocket\WebSocketShard.js:525:12) at WebSocketShard.onPacket (C:\Users\user\to\file\node_modules\discord.js\src\client\websocket\WebSocketShard.js:497:16) at WebSocketShard.onMessage (C:\Users\user\to\file\node_modules\discord.js\src\client\websocket\WebSocketShard.js:328:10)
does anyone know how to fix it or what I'm doing wrong
Beta Was this translation helpful? Give feedback.
All reactions