Next.js Discord

Discord Forum

Unable to retrieve index.html file using the export method (App Router)

Long-billed Dowitcher posted this in #help-forum
Open in Discord
Long-billed DowitcherOP

I've changed the output to export but I am unable to generate the index.html file. I used to be able to when I first made the project but now I'm unable to.

Any help or suggestions would be appreciated!

1 Reply

Long-billed DowitcherOP
Just an update on this, if im not fetching data, it is able to create that index.html file but if i add the await fetch then the build doesn’t create. Is there no way i can call the fetch at the server level and build that?