Disable static generation in Next?
I recently migrated my whole code base to RSC and something is really driving me crazy. It seems that next build is trying to execute my server code at build time even tho I have only server rendered pages. I tried to
const dynamic = 'force-dynamic'
but it doesn't change anything my build is always failing at "Generating static pages". Is there a way to disable this thing altogether? Sure I can add try catches everywhere but what's the point?![No description](https://cdn.answeroverflow.com/1162713482194591836/Screenshot_2023-10-14_at_13.22.04.png)
0 Replies