Need Help with MongoRuntimeError: Unexpected Null Cursor ID in Node.js (MongoDB 6.8 Issue)

I had the same issue and it turned out to be an inconsistent package-lock.json file resulting from a git merge. Deleting package-lock.json and doing npm install to create a fresh one resolved the issue.