Closed benpoulson closed 3 years ago
Closed; My fault, for some reason @types/node 16.x doesn't work, but 15.x does.
How do we use it with @types/node@16.0.0
?
Got the same issue here when upgrading to Node 16 API.
OMG, the solution is downgrading @types/node
, not fixing it.
We'll upgrade to @types/node@16 for Mongoose 6. I don't know of any way that Mongoose can support both @types/node@15 and @types/node@16, but PRs are most welcome if you have a suggestion.
Bumping this - got into the same issue
bumping this up, got same issue
bumping this up, got same issue
Upgrade to mongoose@5.13.3 :+1:
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. Blank NestJS project, install mongoose as docs describe.
Followed fix on #10415, however no change.
tsconfig.json
What is the expected behavior?
No errors on TS build.
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version. NodeJS versions - v16.4.0 Linux and v12.16.1 OSX
Mongoose version - Unable to retreive from framework via console.log, but package-lock.json states: @nestjs/mongoose:
7.2.4
mongoose:5.13.2
(depends@types/node
: 15.14.1)Attached both package.json and package-lock.json.
package.json.zip