Content duplication on Netlify deploy while it is fine locally #2484
-
Hello, I'm using a Node 16.13 and yarn 1.22.11. I have this web page (for example, but I see the same behavior on all post pages) deployed by a netlify build from this repossitory on the main branch. I see this on the production URL: Locally, I see that, which is the expected result: When I load the production page, I see the right content for a second and then it seems to be replaced: Somehow, I also find some of the content repeated twice as I scroll... I am not sure why this happens. I don't use the Asset optimization nor the Prerendering option (there is no difference with my issue anyways). What could be the source of my issue? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
OK, and if I deploy the same repo and branch to another instance, the page looks fine if I access it from the home page > If I do |
Beta Was this translation helpful? Give feedback.
-
Hi, I spent 10 minutes but I failed to findout any problems, you are using standard html tags, and the console is not showing you got a hygration mismatch, Also other pages seems not having these kind of issue. You may try to make a mininal repo to see if this is related to your markdown content by trying to create a new template and add your notes inside it. If you can reproduce it, welcome to try editing that file to see what part triggers this issue, and show that repo link and I may investigate further. If you can not reproduce it stablely, then I am afraid I have no ideas about how this issue happens, it's annoying to debug these kind of questions in production without any warning or errors. |
Beta Was this translation helpful? Give feedback.
Hi, I spent 10 minutes but I failed to findout any problems, you are using standard html tags, and the console is not showing you got a hygration mismatch,
Also other pages seems not having these kind of issue.
You may try to make a mininal repo to see if this is related to your markdown content by trying to create a new template and add your notes inside it. If you can reproduce it, welcome to try editing that file to see what part triggers this issue, and show that repo link and I may investigate further.
If you can not reproduce it stablely, then I am afraid I have no ideas about how this issue happens, it's annoying to debug these kind of questions in production without any warning or…