Next.js Discord

Discord Forum

Markdown Issue when deploying NextJS app on ECS

Unanswered
Peruvian anchoveta posted this in #help-forum
Open in Discord
Peruvian anchovetaOP
I'm encountering a problem with my custom Markdown component when deploying on Amazon ECS. I’m using react-markdown to render Markdown content that includes custom components. While everything works perfectly in my local environment, the custom components are not rendering correctly in production. Instead of displaying as expected, I see strange HTML tags, like <oe></oe> and <ov></ov>. I’m also getting an error stating "Failed to update prerender cache," but I’m unsure if this is related to the rendering issue. Any tips?

0 Replies