node : (node:17860) [MONGOOSE] Warning: Duplicate schema index on {"registrationCode":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition. At line:1 char:1 + node server.js 2>&1 | out-file -encoding utf8 trace.txt; get-content ... + ~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ((node:1 7860) [M...dex definitio n.:String) [], RemoteExc eption + FullyQualifiedErrorId : NativeCommandError (Use `node --trace-warnings ...` to show where the warning was created) MongoDB Connected: localhost 2026-03-19 08:19:49 [info]: Schedule runner initialized (runs every minute) 2026-03-19 08:19:49 [error]: UNCAUGHT EXCEPTION! Shutting down... 2026-03-19 08:19:49 [error]: Error: listen EADDRINUSE: address already in use :::5005 at Server.setupListenHandle [as _listen2] (node:net:2008:16) at listenInCluster (node:net:2065:12) at Server.listen (node:net:2170:7) at startServer (file:///D:/Cosign-CMS/cosign-cms-backend/server.js:60:12) at process.processTicksAndRejections (node:internal/process/task_queues:104:5)