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
5 Replies
Cyb3r-Jak3
Cyb3r-Jak314mo 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
itsmatteomanf14mo ago
Yeah, it’s reporting the cache path in the last row, too.
Berteotti
BerteottiOP14mo ago
Thanks guys, will take a look in the setup
Crypt Chi
Crypt Chi5w ago
Did you solve this ? I’m facing same issue
itsmatteomanf
itsmatteomanf4w ago
the solution here is to fix the output directory, as the first reply here said

Did you find this page helpful?