Invalid prerender config for /posts/[slug]

Hi, Trying to get next-on-pages to build static pages where I am using generateStaticParams. For some reason it keeps creating invalid prerender config. I am on Next 14.1 and next-on-pages 1.13.12 if that makes a difference. I can't seem to find the render config files in the build folder to inspect them, so perhaps someone can help me find them? Thanks!
7 Replies
fursund
fursundOP•2w ago
Before you ask.. I've already tried opennext and it doesn't even produce the static pages 🙂
James
James•2w ago
What do you mean by it doesn't produce the static pages?
fursund
fursundOP•2w ago
When using opennext the pages that are produced by generateStaticParams on next.js doesn't appear on opennext
James
James•2w ago
are you able to provide a reproduction?
fursund
fursundOP•2w ago
Hmmm could be complicated. I’ll see what I can do
fursund
fursundOP•2w ago
Some info about the environment can be found here: https://github.com/opennextjs/opennextjs-cloudflare/issues/566
GitHub
[BUG] Building static sites from api requests produces invalid json...
Describe the bug Building app produces invalid json: {"kind":"FETCH","data":{"headers":{"accept-ranges":"bytes","alt-svc":"...
James
James•2w ago
It'd be appreciated if you're able to put together a minimal repro and attach it to the issue

Did you find this page helpful?