Replies: 1 comment 4 replies
-
|
Do you have a repro, like your public code repo? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
When I build (
docusarus build) an error message is compiled into theindex.htmlfile, so it always shows on the site even if everything is working.The issue can be seen live by visiting this PR preview: https://pr-994--dhis2-ui.netlify.app/
A screenshot looks like this:
In the compiled
index.html, the full message can be seen:When loading the page, the actual script loads fine:
Which isn't surprising, because everything functions as intended.
There are no build errors, and the page itself works perfectly.
The only difference between development and production is that the error message is compiled into the
index.htmlfile.Any clues why the
docusaurus buildcommand builds in the error message into the resultingindex.htmlfile?The setup can be explored on this branch for now: https://github.com/dhis2/ui/tree/merge-design-system-stacked/docs
Beta Was this translation helpful? Give feedback.
All reactions