event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.69k stars 143 forks source link

SchemaViewer does not render when deployed to S3 #590

Closed jnixon2 closed 1 month ago

jnixon2 commented 2 months ago

When using the new schema viewer component, this works fine in dev mode locally and renders fine.

However when deployed to S3 the SchemaViewer component doesnt seem to render and i get this error:

image

local:

image

deployed to S3:

image
otbe commented 2 months ago

I think its broken as soon as you build the catalog via npm run build. Im experiencing the same while just serving the catalog locally.

autodidaddict commented 1 month ago

I don't experience this using npm run dev, which works fine. I experience this when I deploy to Netlify, the exact same error image

boyney123 commented 1 month ago

Should be fixed in @eventcatalog/core@2.0.29, let me know if you still have issue.