#Mongoose Error 10000ms

5 messages · Page 1 of 1 (latest)

runic shellBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by staff
chilly valve

Mongoose hasn’t connected yet

mongoose.connect

Literally just import connect from mongoose then call it and pass the connection url

connect(url).then(() => {
client.login(token)
}).catch((e) => console.log(e))