internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'express'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/sportsmanshipbackend.heeltech.in/server.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'express'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/sportsmanshipbackend.heeltech.in/server.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/10/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/bulk/common.js:56
        this.insertedCount = this.result.nInserted ?? 0;
                                                    ^

SyntaxError: Unexpected token ?
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/bulkWriteResult.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
(node:1139384) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1139384) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1140234) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1140234) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1182561) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1182561) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1186989) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1186989) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1452895) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1452895) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1858468) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1858468) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1873112) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1873112) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1879295) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1879295) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:2074153) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2074153) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
Verify admin token error: TypeError: Cannot read properties of undefined (reading 'adminId')
    at verifyAdminToken (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/adminController.js:179:50)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:280:10)
    at Function.handle (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:47:12)
Verify admin token error: TypeError: Cannot read properties of undefined (reading 'adminId')
    at verifyAdminToken (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/adminController.js:179:50)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:280:10)
    at Function.handle (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:47:12)
Update player error: Error: Validation failed: dateOfBirth: Date of birth is required
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at updatePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/playerController.js:308:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/helpers/updateValidators.js:154:22
        at module.exports (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/helpers/updateValidators.js:205:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:4115:7
        at new Promise (<anonymous>)
        at model.Query.validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:4114:11)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async model.Query._findOneAndUpdate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:3529:5)
        at async model.Query.exec (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:4627:63) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Validation failed'
}
❌ Error saving player purchase: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:665:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '13',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error in purchasePlayer: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:670:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '13',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error saving player purchase: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:665:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '49',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error in purchasePlayer: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:670:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '49',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error saving player purchase: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:665:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '49',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error in purchasePlayer: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:670:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '49',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error saving player purchase: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:665:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '13',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error in purchasePlayer: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:670:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '13',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error saving player purchase: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:665:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '13',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
❌ Error in purchasePlayer: Error: Player validation failed: serialId: Serial ID must be exactly 6 digits, position: Player type is required, dateOfBirth: Date of birth is required, basePrice: Base price must be at least ₹1,000
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at exports.purchasePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/teamController.js:670:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    serialId: ValidatorError: Serial ID must be exactly 6 digits
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'regexp',
      path: 'serialId',
      value: '13',
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    position: ValidatorError: Player type is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'position',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    },
    basePrice: ValidatorError: Base price must be at least ₹1,000
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/document.js:3111:18
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      properties: [Object],
      kind: 'min',
      path: 'basePrice',
      value: 0,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Player validation failed'
}
(node:544011) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:544011) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
(node:544591) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:544591) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:706263) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:706263) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3657480) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3657480) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3657843) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3657843) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3660673) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3660673) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
Update player error: Error: Validation failed: dateOfBirth: Date of birth is required
    at ValidationError.inspect (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/error/validation.js:52:26)
    at formatValue (node:internal/util/inspect:829:19)
    at inspect (node:internal/util/inspect:372:10)
    at formatWithOptionsInternal (node:internal/util/inspect:2325:40)
    at formatWithOptions (node:internal/util/inspect:2187:10)
    at console.value (node:internal/console/constructor:350:14)
    at console.warn (node:internal/console/constructor:383:61)
    at updatePlayer (/home/heeltech/sportsmanshipbackend.heeltech.in/controllers/playerController.js:309:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: {
    dateOfBirth: ValidatorError: Date of birth is required
        at validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1413:13)
        at SchemaType.doValidate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/schemaType.js:1397:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/helpers/updateValidators.js:154:22
        at module.exports (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/helpers/updateValidators.js:205:7)
        at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:4115:7
        at new Promise (<anonymous>)
        at model.Query.validate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:4114:11)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async model.Query._findOneAndUpdate (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:3529:5)
        at async model.Query.exec (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongoose/lib/query.js:4627:63) {
      properties: [Object],
      kind: 'required',
      path: 'dateOfBirth',
      value: null,
      reason: undefined,
      [Symbol(mongoose#validatorError)]: true
    }
  },
  _message: 'Validation failed'
}
(node:3668057) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3668057) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3668097) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3668097) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3668916) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3668916) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3926174) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3926174) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
Create player error: MongoServerError: E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }
    at InsertOneOperation.execute (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/insert.js:51:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async tryOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:207:20)
    at async executeOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:75:16)
    at async Collection.insertOne (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/collection.js:157:16) {
  errorLabelSet: Set(0) {},
  errorResponse: {
    index: 0,
    code: 11000,
    errmsg: 'E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }',
    keyPattern: { email: 1 },
    keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
  },
  index: 0,
  code: 11000,
  keyPattern: { email: 1 },
  keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
}
Create player error: MongoServerError: E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }
    at InsertOneOperation.execute (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/insert.js:51:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async tryOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:207:20)
    at async executeOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:75:16)
    at async Collection.insertOne (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/collection.js:157:16) {
  errorLabelSet: Set(0) {},
  errorResponse: {
    index: 0,
    code: 11000,
    errmsg: 'E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }',
    keyPattern: { email: 1 },
    keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
  },
  index: 0,
  code: 11000,
  keyPattern: { email: 1 },
  keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
}
Create player error: MongoServerError: E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }
    at InsertOneOperation.execute (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/insert.js:51:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async tryOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:207:20)
    at async executeOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:75:16)
    at async Collection.insertOne (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/collection.js:157:16) {
  errorLabelSet: Set(0) {},
  errorResponse: {
    index: 0,
    code: 11000,
    errmsg: 'E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }',
    keyPattern: { email: 1 },
    keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
  },
  index: 0,
  code: 11000,
  keyPattern: { email: 1 },
  keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
}
Create player error: MongoServerError: E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }
    at InsertOneOperation.execute (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/insert.js:51:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async tryOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:207:20)
    at async executeOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:75:16)
    at async Collection.insertOne (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/collection.js:157:16) {
  errorLabelSet: Set(0) {},
  errorResponse: {
    index: 0,
    code: 11000,
    errmsg: 'E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "vadisiladurgamalleswararao@temp.com" }',
    keyPattern: { email: 1 },
    keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
  },
  index: 0,
  code: 11000,
  keyPattern: { email: 1 },
  keyValue: { email: 'vadisiladurgamalleswararao@temp.com' }
}
Create player error: MongoServerError: E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "snkvarma@temp.com" }
    at InsertOneOperation.execute (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/insert.js:51:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async tryOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:207:20)
    at async executeOperation (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:75:16)
    at async Collection.insertOne (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/mongodb/lib/collection.js:157:16) {
  errorLabelSet: Set(0) {},
  errorResponse: {
    index: 0,
    code: 11000,
    errmsg: 'E11000 duplicate key error collection: shopsee.players index: email_1 dup key: { email: "snkvarma@temp.com" }',
    keyPattern: { email: 1 },
    keyValue: { email: 'snkvarma@temp.com' }
  },
  index: 0,
  code: 11000,
  keyPattern: { email: 1 },
  keyValue: { email: 'snkvarma@temp.com' }
}
(node:1478543) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1478543) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:2472030) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2472030) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3522243) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3522243) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:31853) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:31853) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:451117) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:451117) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:1290561) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1290561) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:137917) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:137917) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:737950) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:737950) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:2162673) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2162673) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:555632) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:555632) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:582851) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:582851) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:713616) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:713616) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
Authentication error: TokenExpiredError: jwt expired
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:190:21
    at getSecret (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:97:14)
    at module.exports [as verify] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:101:10)
    at authenticate (/home/heeltech/sportsmanshipbackend.heeltech.in/middleware/auth.js:28:25)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12) {
  expiredAt: 2025-09-21T02:36:29.000Z
}
(node:483110) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:483110) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
Authentication error: TokenExpiredError: jwt expired
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:190:21
    at getSecret (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:97:14)
    at module.exports [as verify] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:101:10)
    at authenticate (/home/heeltech/sportsmanshipbackend.heeltech.in/middleware/auth.js:28:25)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12) {
  expiredAt: 2025-09-26T07:42:07.000Z
}
(node:2073543) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2073543) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:307953) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:307953) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:16985) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:16985) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:207960) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:207960) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3798750) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3798750) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
Authentication error: TokenExpiredError: jwt expired
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:190:21
    at getSecret (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:97:14)
    at module.exports [as verify] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:101:10)
    at authenticate (/home/heeltech/sportsmanshipbackend.heeltech.in/middleware/auth.js:28:25)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12) {
  expiredAt: 2025-09-25T10:04:22.000Z
}
Authentication error: TokenExpiredError: jwt expired
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:190:21
    at getSecret (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:97:14)
    at module.exports [as verify] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:101:10)
    at authenticate (/home/heeltech/sportsmanshipbackend.heeltech.in/middleware/auth.js:28:25)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12) {
  expiredAt: 2025-09-29T13:55:44.000Z
}
Authentication error: TokenExpiredError: jwt expired
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:190:21
    at getSecret (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:97:14)
    at module.exports [as verify] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:101:10)
    at authenticate (/home/heeltech/sportsmanshipbackend.heeltech.in/middleware/auth.js:28:25)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12) {
  expiredAt: 2025-10-05T06:22:44.000Z
}
Authentication error: TokenExpiredError: jwt expired
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:190:21
    at getSecret (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:97:14)
    at module.exports [as verify] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/jsonwebtoken/verify.js:101:10)
    at authenticate (/home/heeltech/sportsmanshipbackend.heeltech.in/middleware/auth.js:28:25)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/lib/node_modules/express/lib/router/index.js:346:12) {
  expiredAt: 2025-09-23T10:34:41.000Z
}
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: retry: Resource temporarily unavailable
/home/heeltech/nodevenv/sportsmanshipbackend.heeltech.in/20/bin/node: fork: Resource temporarily unavailable
(node:172871) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:172871) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:105484) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:105484) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:2842987) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2842987) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(node:3946354) [MONGOOSE] Warning: Duplicate schema index on {"username":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3946354) [MONGOOSE] Warning: Duplicate schema index on {"email":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
