I have a project that i am trying to deploy to Vercel but it encounters different not found modules errors which do not appear when building locally . I have checked for misspelled words or different casings but it all is the same . I am seriously stuck and i do not know what to do .
[11:48:36.459] Cloning github.com/TruthSeeker12/TruthSeeker (Branch: main, Commit: 8d7c854)[11:48:36.706] Previous build caches not available[11:48:36.994] Cloning completed: 535.000ms[11:48:37.060] Found .vercelignore[11:48:37.062] Removed 0 ignored files defined in .vercelignore[11:48:37.238] Running build in Washington, D.C., USA (East) – iad1[11:48:37.444] Running "vercel build"[11:48:37.917] Vercel CLI 41.6.2[11:48:38.489] Installing dependencies...[11:48:41.656] npm warn deprecated yaeti@0.0.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.[11:48:42.352] npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported[11:48:42.722] npm warn deprecated npmlog@5.0.1: This package is no longer supported.[11:48:43.178] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.[11:48:43.900] npm warn deprecated gauge@3.0.2: This package is no longer supported.[11:48:44.470] npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.[11:48:44.895] npm warn deprecated @supabase/auth-helpers-shared@0.7.0: This package is now deprecated - please use the @supabase/ssr package instead.[11:48:45.596] npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead[11:48:45.597] npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead[11:48:45.693] npm warn deprecated @supabase/auth-helpers-nextjs@0.10.0: This package is now deprecated - please use the @supabase/ssr package instead.[11:48:45.753] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported[11:48:48.970] npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.[11:48:58.350] [11:48:58.350] added 680 packages in 20s[11:48:58.357] [11:48:58.357] 177 packages are looking for funding[11:48:58.357] run `npm fund` for details[11:48:58.430] Detected Next.js version: 14.2.28[11:48:58.435] Running "npm run build"[11:48:58.575] [11:48:58.576] > truthseeker@0.1.0 build[11:48:58.577] > next build[11:48:58.577] [11:48:59.265] Attention: Next.js now collects completely anonymous telemetry regarding usage.[11:48:59.266] This information is used to shape Next.js' roadmap and prioritize features.[11:48:59.266] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:[11:48:59.267] https://nextjs.org/telemetry[11:48:59.267] [11:48:59.336] ▲ Next.js 14.2.28[11:48:59.337] [11:48:59.430] Creating an optimized production build ...[11:49:20.443] Failed to compile.[11:49:20.444] [11:49:20.444] ./app/(auth)/auth/email-confirmed/page.tsx[11:49:20.444] Module not found: Can't resolve '@/lib/auth-redirect'[11:49:20.444] [11:49:20.444] https://nextjs.org/docs/messages/module-not-found[11:49:20.444] [11:49:20.444] ./app/(auth)/auth/reset-password/page.tsx[11:49:20.444] Module not found: Can't resolve '@/lib/supabase'[11:49:20.444] [11:49:20.444] https://nextjs.org/docs/messages/module-not-found[11:49:20.444] [11:49:20.444] ./app/(dashboard)/dashboard/layout.tsx[11:49:20.445] Module not found: Can't resolve '@/client/lib/translations'[11:49:20.445] [11:49:20.445] https://nextjs.org/docs/messages/module-not-found[11:49:20.445] [11:49:20.445] ./app/(dashboard)/dashboard/layout.tsx[11:49:20.445] Module not found: Can't resolve '@/lib/utils'[11:49:20.445] [11:49:20.445] https://nextjs.org/docs/messages/module-not-found[11:49:20.445] [11:49:20.445] ./app/debug-test/page.tsx[11:49:20.445] Module not found: Can't resolve '@/lib/supabase'[11:49:20.445] [11:49:20.445] https://nextjs.org/docs/messages/module-not-found[11:49:20.445] [11:49:20.460] [11:49:20.460] > Build failed because of webpack errors[11:49:20.491] Error: Command "npm run build" exited with 1[11:49:21.397] these are the errors that pop up

this is tsconfig

I have already built it locally and it works as it should but on vercel this errors constantly appears even though i think i have checked all the required boxes . I have tried with env's and without env's and nothing happened .