Duplicate Mongoose Index Warning for username field on Server Startup
p5.js version
latest
What is your operating system?
Windows
Web browser and version
No response
Actual Behavior
When running the backend locally on the latest main branch, a Mongoose warning appears:
Expected Behavior
It should work Normally without AnyWarning.
Steps to reproduce
Steps:
1.Fresh clone of the repo
2.Install dependencies (npm install)
3.Start backend (npm run start)
4.Observe console output
Expected behavior:### Snippet:
// Paste your code here :)
I’d be happy to look into this. These kinds of warnings often come from overlapping index definitions or an existing MongoDB index that doesn’t match the schema options. I’ve worked with Mongoose index behavior and schema/index mismatches before, so I can help investigate the root cause and work on a clean fix.
Once a maintainer approves the issue, please feel free to assign it to me. I’m ready to start working on it.