“VersionError: No matching document found” error on Node.js/Mongoose

后端 未结 5 1437
攒了一身酷
攒了一身酷 2020-12-13 17:34

I\'m relatively new to Node.js and Mongo/Mongoose, and I\'m having a very difficult time troubleshooting a specific Mongoose error:

VersionError: No

5条回答
  •  旧巷少年郎
    2020-12-13 18:24

    This error can also occur when your process maintains an outdated version of a document in memory and then tries to save it at some point after it has been updated by another process.

提交回复
热议问题