Error: Pages only supports files up to 26.2 MB in size

I got this error when deploying my nextjs app with pages. I think it's related to server-rendered pages on my app. Is this correct? Should I have a different setup for server-rendered content?
No description
3 Replies
Cyb3r-Jak3
Cyb3r-Jak310mo ago
With next, this is typically because the output directory is set incorrectly so it includes the cache directory. I forget the directory but if you run the build locally you can find the correct output directory
itsmatteomanf
itsmatteomanf10mo ago
Yeah, it’s reporting the cache path in the last row, too.
Berteotti
BerteottiOP10mo ago
Thanks guys, will take a look in the setup
Want results from more Discord servers?
Add your server