Node made a mistake when operating gridfs and asked for an answer.

  node.js, question

Exceptions:MongoError: cannot establish topology capabilities as driver is still in process of connecting

var mongodb = require('mongodb');
var db = new mongodb.Db('image_test', new mongodb.Server('', 27017));

var ImageDB = {
    'save_image': function(img, callback){
        var gs = new mongodb.GridStore(db, name, 'w',{
            'content_type' : img.mimetype
        });, gs){
            gs.write(img.buffer, function(){
                gs.close(function(err, result){

May I know what this means? I just learned node today.

It has been settled. . . The original also need to open it first. . . We’ll study it tomorrow.