p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Duplicate Mongoose Index Warning for username field on Server Startup

Open Jatin24062005 opened this issue 1 month ago • 1 comments

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: Image

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 :)

Jatin24062005 avatar Dec 10 '25 12:12 Jatin24062005

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.

sonu786786 avatar Dec 11 '25 06:12 sonu786786