Replies: 1 comment 4 replies
-
Hi @AndrewSB please provide a reproduction of the issue that we can take a look at, the current details you're providing aren't enough to replicate the issue. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I have a pretty simple static site built with v9.3.6, there's a problem I'm running into when adding
to my
pages/index.tsx
.Once deployed through Vercel, navigating to the URL's
/
route leads to a page with no javascript. The HTML sent down is just mypublic/index.html
with the root div not populated.Strangely enough, if I navigate to the deployment URL's
/index
path, I see the page with the statically fetched data.I can't reproduce this locally - when going to
localhost:3000/
I see the index page correctly.If I remove the
getStaticProps()
export, the deployment's/
path begins to work correctly again.Index.tsx looks like this
Beta Was this translation helpful? Give feedback.
All reactions