Error in deploying my expressjs application

Hello Iam facing this error , iam struggling to debug this one , help me with this?
Thanks in advance.
Here is git repo : GitHub - S-Lakshminarasimha/TODO

10:49:04 PM: $ npm run build
10:49:04 PM: > todo@1.0.0 build
10:49:04 PM: > netlify-lambda build src
10:49:04 PM: netlify-lambda: Building functions
10:49:21 PM: [
10:49:21 PM:   ModuleParseError: Module parse failed: Unexpected token (10:37)
10:49:21 PM:   You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
10:49:21 PM:   |         "x-amz-sso_bearer_token": input.accessToken,
10:49:21 PM:   |     });
10:49:21 PM:   >     const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/federation/credentials";
10:49:21 PM:   |     const query = map({
10:49:21 PM:   |         role_name: [, __expectNonNull(input.roleName, `roleName`)],
10:49:21 PM:       at handleParseError (/opt/build/repo/node_modules/webpack/lib/NormalModule.js:469:19)
10:49:21 PM:       at /opt/build/repo/node_modules/webpack/lib/NormalModule.js:503:5
10:49:21 PM:       at /opt/build/repo/node_modules/webpack/lib/NormalModule.js:358:12
10:49:21 PM:       at /opt/build/repo/node_modules/loader-runner/lib/LoaderRunner.js:373:3
10:49:21 PM:       at iterateNormalLoaders (/opt/build/repo/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
10:49:21 PM:       at Array.<anonymous> (/opt/build/repo/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
10:49:21 PM:       at Storage.finished (/opt/build/repo/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
10:49:21 PM:       at /opt/build/repo/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
10:49:21 PM:       at /opt/build/repo/node_modules/graceful-fs/graceful-fs.js:123:16
10:49:21 PM:       at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3),
10:49:22 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
10:49:21 PM:   ModuleParseError: Module parse failed: Unexpected token (10:50)
10:49:21 PM:   You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
10:49:21 PM:   |         }, { ...config }, context);
10:49:21 PM:   |         context.endpointV2 = endpoint;
10:49:21 PM:   >         context.authSchemes = endpoint.properties?.authSchemes;
10:49:21 PM:   |         const authScheme = context.authSchemes?.[0];
10:49:21 PM:   |         if (authScheme) {
10:49:21 PM:       at handleParseError (/opt/build/repo/node_modules/webpack/lib/NormalModule.js:469:19)
10:49:21 PM:       at /opt/build/repo/node_modules/webpack/lib/NormalModule.js:503:5
10:49:21 PM:       at /opt/build/repo/node_modules/webpack/lib/NormalModule.js:358:12
10:49:21 PM:       at /opt/build/repo/node_modules/loader-runner/lib/LoaderRunner.js:373:3
10:49:21 PM:       at iterateNormalLoaders (/opt/build/repo/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
10:49:21 PM:       at Array.<anonymous> (/opt/build/repo/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
10:49:21 PM:       at Storage.finished (/opt/build/repo/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
10:49:21 PM:       at /opt/build/repo/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
10:49:21 PM:       at /opt/build/repo/node_modules/graceful-fs/graceful-fs.js:123:16
10:49:21 PM:       at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3),
.......

Hiya, sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!