Skip to content
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

sever side package #154

Open
Gagenrllc opened this issue Dec 20, 2022 · 0 comments
Open

sever side package #154

Gagenrllc opened this issue Dec 20, 2022 · 0 comments

Comments

@Gagenrllc
Copy link

I wanted to branch out on this project and do some emailing with nodemailer-react. I discovered that anytime I install any packages on the server side I get a weird warning related to the mongoose package.

Here is the warning I get.

Database connection start (node:17424) [MONGOOSE] DeprecationWarning: Mongoose: thestrictQueryoption will be switched back to falseby default in Mongoose 7. Usemongoose.set('strictQuery', false);if you want to prepare for this change. Or usemongoose.set('strictQuery', true);to suppress this warning. (Usenode --trace-deprecation ...` to show where the warning was created)
Server running on port 5000

`
Not sure why this would happen as I don't get the warning with the package list originally provide in this project.

My new package list looks like this.

"dependencies": { "body-parser": "^1.19.0", "cors": "^2.8.5", "express": "^4.17.1", "mongoose": "^6.8.1", "nodemailer-react": "^1.0.2", "react": "^16.12.0", "react-dom": "^16.12.0" }

I'm kind of curious what is really going on here.

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

No branches or pull requests

1 participant