Throw new MongooseError('Mongoose.prototype.connect() no longer accepts a callback');

1 Like

downgrade the version to 6.10.0