TypeError: Invalid token at 1: https://git.new/pathToRegexpError

i just deployed the project in render and as it says i had to change the path oh backend from localhost to https://chatme-ai.onrender or https://chatme-ai.onrender.com but it keeps giving error about pathToRegexp
C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:85
throw new TypeError(Missing parameter name at ${i}: ${DEBUG_URL});
^

TypeError: Missing parameter name at 1: https://git.new/pathToRegexpError
at name (C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:85:19)
at lexer (C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:103:27)
at lexer.next ()
at Iter.peek (C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:119:38)
at Iter.tryConsume (C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:125:28)
at Iter.text (C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:141:30)
at consume (C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:166:29)
at parse (C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:197:20)
at C:Usersms077OneDriveDesktopSHUBHAM EXAMShubhamPROJECTSAI-CHATbackendnode_modulespath-to-regexpdistindex.js:308:74
at Array.map ()

Node.js v20.15.1
[nodemon] app crashed – waiting for file changes before starting…
npm start gave this

i tried in chatgpt but its not working

i tried to update my node-modules and check the routes still notwroking