GetPsyched
GetPsyched
Explore posts from servers
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Turns out turning off dynamicParams means that I can't use route intercepts
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Thanks for all the help!
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I plan to buy it but not yet, so I'll do the shift to edge once that happens
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Since my database driver (prisma) doesn't support edge unless using their paid service
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Will try this again in some time though
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
True!
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I thought dynamicParams was only needed once since I only put it in my root layout and it fixed the error for majority of the routes
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
ouch
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
That leaves us with /[locale]/[...catchAll]
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
It will be in v5 but it isn't yet
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Besides, I tried doing it in /api/auth/[...nextauth] and it bugged out with errors since next-auth isn't edge compatible yet
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I need to do that in every route?
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Which I will for a lot of routes, so that's a problem too
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
/[locale]/profile is there because I'm calling getServerSession in the code.
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I wonder why /[locale] is still there in the error
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Ignore the ones with [name] and [id], I just haven't done generateStaticParams for those yet
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Still have #1 and #2 remaining
⚡️ The following routes were not configured to run with the Edge Runtime:
17:23:00.790 ⚡️ - /[locale]/[...catchAll]
17:23:00.790 ⚡️ - /[locale]/academics/courses/[code]
17:23:00.791 ⚡️ - /[locale]/academics/departments/[name]
17:23:00.791 ⚡️ - /[locale]/faculty-and-staff/[id]
17:23:00.791 ⚡️ - /[locale]/institute/deans/[name]
17:23:00.791 ⚡️ - /[locale]/institute/sections/[name]
17:23:00.792 ⚡️ - /[locale]/profile
17:23:00.792 ⚡️ - /[locale]/student-activities/clubs/[name]
17:23:00.792 ⚡️ - /[locale]
17:23:00.792 ⚡️ - /api/auth/[...nextauth]
⚡️ The following routes were not configured to run with the Edge Runtime:
17:23:00.790 ⚡️ - /[locale]/[...catchAll]
17:23:00.790 ⚡️ - /[locale]/academics/courses/[code]
17:23:00.791 ⚡️ - /[locale]/academics/departments/[name]
17:23:00.791 ⚡️ - /[locale]/faculty-and-staff/[id]
17:23:00.791 ⚡️ - /[locale]/institute/deans/[name]
17:23:00.791 ⚡️ - /[locale]/institute/sections/[name]
17:23:00.792 ⚡️ - /[locale]/profile
17:23:00.792 ⚡️ - /[locale]/student-activities/clubs/[name]
17:23:00.792 ⚡️ - /[locale]
17:23:00.792 ⚡️ - /api/auth/[...nextauth]
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Okay, that fixed #3
37 replies
CDCloudflare Developers
Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Oh!
37 replies