Next JS 404 after successful deploy

16:22:22.647 Cloning repository…
16:22:23.513 From *
16:22:23.513 * branch a7fdd46798b52dacc84dcb86dd39568de617058c → FETCH_HEAD
16:22:23.513
16:22:23.551 HEAD is now at a7fdd46 fix: loading info
16:22:23.551
16:22:23.647
16:22:23.648 Using v2 root directory strategy
16:22:23.676 Success: Finished cloning repository files
16:22:25.544 Checking for configuration in a wrangler.toml configuration file (BETA)
16:22:25.545
16:22:25.638 No wrangler.toml file found. Continuing.
16:22:25.806 Detected the following tools from environment: [email protected], [email protected]
16:22:25.807 Installing project dependencies: npm clean-install --progress=false
16:22:28.703 npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
16:22:29.179 npm WARN deprecated [email protected]: 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.
16:22:30.053 npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
16:22:39.277
16:22:39.277 > [email protected] postinstall
16:22:39.277 > prisma generate
16:22:39.277
16:22:39.815 Prisma schema loaded from schema.prisma
16:22:40.206
16:22:40.206 :heavy_check_mark: Generated Prisma Client (v5.15.0) to ./node_modules/@prisma/client in 79ms
16:22:40.206
16:22:40.206 Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
16:22:40.207 ```
16:22:40.207 import { PrismaClient } from ‘@prisma/client’
16:22:40.207 const prisma = new PrismaClient()
16:22:40.207 ```
16:22:40.207 or start using Prisma Client at the edge (See: pris.ly/d/accelerate)
16:22:40.207 ```
16:22:40.207 import { PrismaClient } from ‘@prisma/client/edge’
16:22:40.207 const prisma = new PrismaClient()
16:22:40.208 ```
16:22:40.208
16:22:40.208 See other ways of importing Prisma Client: pris.ly/d/importing-client
16:22:40.208
16:22:40.208 ┌─────────────────────────────────────────────────────────────┐
16:22:40.208 │ Deploying your app to serverless or edge functions? │
16:22:40.209 │ Try Prisma Accelerate for connection pooling and caching. │
16:22:40.209 https://pris.ly/cli/--accelerate
16:22:40.209 └─────────────────────────────────────────────────────────────┘
16:22:40.209
16:22:40.415
16:22:40.416 added 369 packages, and audited 370 packages in 14s
16:22:40.416
16:22:40.416 134 packages are looking for funding
16:22:40.417 run npm fund for details
16:22:40.419
16:22:40.419 found 0 vulnerabilities
16:22:40.438 Executing user command: npm run build
16:22:41.085
16:22:41.086 > [email protected] build
16:22:41.086 > next build
16:22:41.086
16:22:41.760 :warning: No build cache found. Please configure build caching for faster rebuilds. Read more: No Cache Detected | Next.js
16:22:41.765 Attention: Next.js now collects completely anonymous telemetry regarding usage.
16:22:41.765 This information is used to shape Next.js’ roadmap and prioritize features.
16:22:41.765 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:
16:22:41.766 Telemetry | Next.js by Vercel - The React Framework
16:22:41.766
16:22:41.839 ▲ Next.js 14.2.3
16:22:41.840
16:22:41.904 Creating an optimized production build …
16:22:53.209 ✓ Compiled successfully
16:22:53.212 Linting and checking validity of types …
16:22:56.112 Collecting page data …
16:22:57.942 Generating static pages (0/8) …
16:22:58.404 Generating static pages (2/8)
16:22:58.453 Generating static pages (4/8)
16:22:58.454 Generating static pages (6/8)
16:22:58.506 ✓ Generating static pages (8/8)
16:22:58.830 Finalizing page optimization …
16:22:58.830 Collecting build traces …
16:23:04.047
16:23:04.057 Route (app) Size First Load JS
16:23:04.057 ┌ ○ / 173 B 94 kB
16:23:04.058 ├ ○ /_not-found 875 B 87.9 kB
16:23:04.058 ├ ƒ /api/projects 0 B 0 B
16:23:04.058 ├ ƒ /api/projects/[id] 0 B 0 B
16:23:04.058 ├ ƒ /api/task 0 B 0 B
16:23:04.058 ├ ƒ /api/task/[id] 0 B 0 B
16:23:04.058 ├ ○ /projects 1.09 kB 97.9 kB
16:23:04.058 └ ƒ /projects/[project] 32.3 kB 122 kB
16:23:04.058 + First Load JS shared by all 87 kB
16:23:04.058 ├ chunks/23-8ef6ceda0ba59f8b.js 31.5 kB
16:23:04.059 ├ chunks/fd9d1056-23bdddb1df3a91c8.js 53.7 kB
16:23:04.059 └ other shared chunks (total) 1.88 kB
16:23:04.059
16:23:04.059
16:23:04.059 ○ (Static) prerendered as static content
16:23:04.059 ƒ (Dynamic) server-rendered on demand
16:23:04.059
16:23:04.107 Finished
16:23:04.108 Note: No functions dir at /functions found. Skipping.
16:23:04.108 Validating asset output directory
16:23:06.205 Deploying your site to Cloudflare’s global network…
16:23:08.683 Uploading… (94/121)
16:23:10.863 Uploading… (103/121)
16:23:12.278 Uploading… (112/121)
16:23:12.469 Uploading… (121/121)
16:23:12.470 :sparkles: Success! Uploaded 27 files (94 already uploaded) (4.30 sec)
16:23:12.470
16:23:12.715 :sparkles: Upload complete!
16:23:14.829 Success: Assets published!
16:23:15.905 Success: Your site was deployed!