I am trying to run a Node.js script locally and it\'s giving me this error message:
===============================================================
I got it to work by setting the strict mode to false.
strict
var db = new Db(config.dbName, new Server("127.0.0.1", 27017, {}), {safe: false, strict: false});