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
Cyb3r-Jak3
Cyb3r-Jak314mo ago
What error are you seeing 404 or something like NX_Domain
Rasheeddev
RasheeddevOP14mo ago
404 error
Cyb3r-Jak3
Cyb3r-Jak314mo ago
Check that you have your output directory set correctly and there is an index.html file in it.
Rasheeddev
RasheeddevOP14mo ago
My project is built with nextjs,how will i check for html file
Cyb3r-Jak3
Cyb3r-Jak314mo ago
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
Rasheeddev
RasheeddevOP14mo ago
okay Have checked No html file in the out folder
Cyb3r-Jak3
Cyb3r-Jak314mo ago
Seems like a build issue then I’d check with #next-on-pages to see why that is
Rasheeddev
RasheeddevOP14mo ago
You mean i should check ?
Cyb3r-Jak3
Cyb3r-Jak314mo ago
Yeah sorry
Rasheeddev
RasheeddevOP14mo ago
Have seen the html file in the Server folder inside the out but it's kind of nested
Want results from more Discord servers?
Add your server