In the upcoming lecture, we will be installing Mongoose into our Ticketing service. As of 11-30, Mongoose v5.11.0 now comes with its own types definitions and will override the @types/mongoose definitions we will be using.
To follow along with the course, you should pin the latest v5.10 version of Mongoose after you have already run npm install.
In your package.json file change the Mongoose version to this without ^ or ~
"mongoose": "5.10.19",
The original thread where students discovered the bug can be found here:
The official Mongoose Github issues thread regarding this error can be found here
Note - you will need to make this adjustment for every service that uses Mongoose throughout the course.