api-design-node
api-design-node copied to clipboard
Unknown modifier: $pushAll" error
I downloaded the repo to my computer and installed packages and run the app. But it throws an error
[ ✨ LOG ✨ ] { "name": "MongoError", "message": "Unknown modifier: $pushAll", "driver": true, "index": 0, "code": 9, "errmsg": "Unknown modifier: $pushAll" }
@dhcarnivale I also encountered the same problem. It seems we were using an old version of the mongoose package where the operator $pushAll has been deprecated. To solve the issue, I installed the latest version of the mongoose package. Refer to the below articles for more clarification: