-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] [5.12.7] Cannot create property '$isUnderneathDocArray' on string 'nested' #10193
Comments
Having the same issue
using "mongoose": "^5.11.18", running on ubuntu 20.04, on minikube |
@erikonrombosman what's the exact version version installed on your machine? Not the one from |
i was using "mongoose": "^5.11.18" in package.json, but changing to 5.12.5 and making some change on DockerFile fixed the problem (I know is weird) |
@erikonrombosman if you use the exact mongoose version to 5.12.5 or before it should work. If you use something with the caret |
@erikonrombosman - can you elaborate on the "some change on DockerFile"? We're using mongoose 5.9.24 on Node 12/14 in AWS Lambda and this started showing up out of nowhere (exact same error). |
Same problem on Node 12/14. |
I can confirm too. |
|
@IslandRhythms you don't even need to actually connect to a database for the bug to occur |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Cannot create property '$isUnderneathDocArray' on string 'nested'
If the current behavior is a bug, please provide the steps to reproduce.
run this script:
What is the expected behavior?
To not print this message
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node 14.15.1
Mongoose 5.12.7 it is working fine with 5.12.5 but not 5.12.7
The text was updated successfully, but these errors were encountered: