Skip to content
Discussion options

You must be logged in to vote

Your problem is related to using top-level await in modules. I'm not sure why this produces such an error in our React components, but we don't have full ESM support and top-level await is a quite fancy feature that you'd rather avoid if your tool doesn't explicitly support it.

If you use hardcoded data, your build can pass:

const versions = ["version"]
const latestVersion = versions[0]
const latest = {

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@gdude2002
Comment options

@slorber
Comment options

slorber Jun 25, 2025
Collaborator

@gdude2002
Comment options

@slorber
Comment options

slorber Jun 25, 2025
Collaborator

Answer selected by gdude2002
@gdude2002
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants