Skip to content

Update mongoose to silence warnings#4

Open
3willows wants to merge 6 commits intoWebDevSimplified:masterfrom
3willows:master
Open

Update mongoose to silence warnings#4
3willows wants to merge 6 commits intoWebDevSimplified:masterfrom
3willows:master

Conversation

@3willows
Copy link
Copy Markdown

@3willows 3willows commented Jun 5, 2024

Great tutorial, still very current 5 years on!

When I ran the tutorial in 2024, nodemon keeps printing out warnings on the following lines,

(node:65198) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
...

To silence these warnings, I updated mongoose to ^8.0.0. (I also updated nodemon, even though that might not be strictly necessary).

In light of the mongoose update, I had to make two consequential changes.

These changes are explained in the README, as well as some notes for anyone who wants to get this project up and running without/before watching the video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant