Hi,
db.collection(collectionName).find(query, projection, options).toArray(cb);
Node driver version 3.1 and newer have a different method signature for find(). The documentation page you linked to is for node driver version 1.4.9, which is not up to date anymore. Please find the current find() documentation in http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#find. Some relevant code examples for the current driver version can be found under CRUD operations.
I believe the warning was due to the find(query, projection, options) syntax in your code. Note that in node driver 3.1, projection is now located under options instead of its own separate parameter.
If you’re still having issues with this, please post the relevant part of the code that’s giving you the error.
Best regards,
Kevin