zenbot icon indicating copy to clipboard operation
zenbot copied to clipboard

mongo error

Open neonorv opened this issue 5 years ago • 2 comments

found error running zenbot on Centos 7 (node:3869) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. fetching pre-roll data: (node:3869) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (node:3882) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:3882) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. (node:3882) DeprecationWarning: collection.save is deprecated. Use insertOne, insertMany, updateOne, or updateMany instead.

neonorv avatar Sep 22 '18 09:09 neonorv

These are warnings you can ignore for now. They can be resolved, though.

DeviaVir avatar Sep 30 '18 09:09 DeviaVir

Since the #1725 is pointing to here:

This is the latest warning I get after updating the bot and rebuilding NPM: (node:11568) DeprecationWarning: collection.save is deprecated. Use insertOne, insertMany, updateOne, or updateMany instead.

mrseeker avatar Jan 31 '19 14:01 mrseeker