Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-747

Not supported on Node v0.12 - lack of Object.assign

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.1
    • Affects Version/s: 2.2.0
    • Component/s: None

      Here is the stack trace:

      /home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:320
      self.s.pool = new Pool(Object.assign(self.s.options, options, {bson: this.s.
      ^
      TypeError: undefined is not a function
      at Server.connect (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:320:33)
      at Server.connect (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/lib/server.js:328:17)
      at open (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/lib/db.js:220:19)
      at Db.open (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/lib/db.js:243:44)
      at connectFunction (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/lib/mongo_client.js:220:67)
      at connect (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/lib/mongo_client.js:367:5)
      at Function.MongoClient.connect (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongodb/lib/mongo_client.js:113:3)
      at clientify (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongo-clean/index.js:47:17)
      at Holder.work (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongo-clean/node_modules/steed/node_modules/fastfall/fall.js:103:23)
      at Object.fall [as waterfall] (/home/travis/build/mcollina/mqemitter-mongodb/node_modules/mongo-clean/node_modules/steed/node_modules/fastfall/fall.js:30:13)
      not ok 1 no plan found

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            mcollina Matteo Collina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: