Page can’t be found
After successfully deploying my project to cloudfare pages. it showing Page can't be found and have tried opening it in another browser, showing same result.
The project is built with Nextjs + sanity
Please how can i resolve this issue. It's been a while now 🙁
10 Replies
What error are you seeing 404 or something like NX_Domain
404 error
Check that you have your output directory set correctly and there is an
index.html
file in it.My project is built with nextjs,how will i check for html file
If you run the build process locally you’ll see the output directory and you can look inside of it to see that the file exists
okay
Have checked
No html file in the out folder
Seems like a build issue then I’d check with #next-on-pages to see why that is
You mean i should check ?
Yeah sorry
Have seen the html file in the Server folder inside the out but it's kind of nested