Closed DesignByOnyx closed 2 years ago
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
mkdir lean-getters-bug cd lean-getters-bug npm init -y npm i mongoose@^5.13.14 npm i mongoose-lean-getters
What is the expected behavior?
The above commands should not produce the error in the screenshot.
What are the versions of Node.js, mongoose-lean-getters, and Mongoose are you are using? Note that "latest" is not a version.
node v16.13.2 mongoose v5.13.14 mongoose-lean-getters v0.3.4
I believe the peer deps defined in package.json ("mongoose": ">= 5.11.0 | 6.x") are invalid. It should have a double pipe.
"mongoose": ">= 5.11.0 | 6.x"
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
The above commands should not produce the error in the screenshot.
What are the versions of Node.js, mongoose-lean-getters, and Mongoose are you are using? Note that "latest" is not a version.
node v16.13.2 mongoose v5.13.14 mongoose-lean-getters v0.3.4
Synopsis
I believe the peer deps defined in package.json (
"mongoose": ">= 5.11.0 | 6.x"
) are invalid. It should have a double pipe.