Just added him as a collaborator @hrishikesh
nathanmartin:
@hamster That’s just showing that if a regular web server were to serve the files from your .next
folder that there is seemingly no index.html
file… which is why it’s displaying a directory listing.
Something that I just discovered, which may point you in the right direction is that if you navigate to any sub-url, for example:
https://chimerical-fudge-9e7f81.netlify.app/literally-anything Tron Node
Then click on the Go back to the dashboard
button, your app loads.
Do you have some redirects
in place?
How can i set that type of issue on my website. I also got directories on my home page. But if i open with permalink it is fine.
hamster
August 11, 2022, 11:47am
27
Changed my build argument to ‘next build && next export’ and its working now
That would work if you are only having a static website. If you use SSR/ISR, etc. Nick confirmed that you would have to remove index.html
from the public
folder in your repo for this to work.
chjames
September 22, 2023, 7:21am
30
hillary:
This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.
We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!
If you are still having problems, please provide as much information as you can on what you have already tried, your project repo, what your build settings are, your package.json
, etc. Thanks!
i am using a static website, where i have add this on body with console.log statements but unfortunately it is stills showing the blank.
SamO
September 22, 2023, 4:17pm
31
Can you share the name of your site please?