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
Before you ask.. I've already tried opennext and it doesn't even produce the static pages 🙂
What do you mean by it doesn't produce the static pages?
When using opennext the pages that are produced by generateStaticParams on next.js doesn't appear on opennext
are you able to provide a reproduction?
Hmmm could be complicated. I’ll see what I can do
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":"...
It'd be appreciated if you're able to put together a minimal repro and attach it to the issue