An error occurred while processing (/outbox?page) request
LuckyCoders opened this issue · 4 comments
LuckyCoders commented
| Unsupported BSON version, bson types must be from bson 5.0 or later {} BSONVersionError: Unsupported BSON version, bson types must be from bson 5.0 or later
| at serializeInto (/var/www/test/node_modules/bson/lib/bson.cjs:3637:23)
| at serializeObject (/var/www/test/node_modules/bson/lib/bson.cjs:3199:22)
| at serializeInto (/var/www/test/node_modules/bson/lib/bson.cjs:3633:25)
| at serializeObject (/var/www/test/node_modules/bson/lib/bson.cjs:3199:22)
| at serializeInto (/var/www/test/node_modules/bson/lib/bson.cjs:3633:25)
| at serializeObject (/var/www/test/node_modules/bson/lib/bson.cjs:3199:22)
| at serializeInto (/var/www/test/node_modules/bson/lib/bson.cjs:3432:25)
| at serializeObject (/var/www/test/node_modules/bson/lib/bson.cjs:3199:22)
| at serializeInto (/var/www/test/node_modules/bson/lib/bson.cjs:3633:25)
| at Object.serialize (/var/www/test/node_modules/bson/lib/bson.cjs:4015:32)
LuckyCoders commented
error in store/index.js
const result = this.db.collection('streams').aggregate(pipeline)
return result.toArray()
LuckyCoders commented
downgrade mongodb
to 4.16.0 helps.
npm install mongodb@4.16.0
wmurphyrd commented
Thanks for this report! Can you tell me what version of Mongo database server you're running? mongod --version
LuckyCoders commented
db version v6.0.2