-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(v2) react-loadable-ssr-addon getBundles error #2898
Comments
Hi @ark120202 I can reproduce your bug on your repo. The I can't reproduce it by swizzling the same comps in D2 website, strange. Will need more investigations, seems related to https://www.npmjs.com/package/react-loadable-ssr-addon By chance can you explain to me how you used Did you update the versions by hand? Because it lead me to
|
Restoring rm -rf .docusaurus node_modules/.cache && yarn build
It's actually pretty inconsistent. I have found it in the https://github.com/ModDota/moddota.github.io repo, which builds fine now, but starts failing when I'm adding Algolia search (ModDota/moddota.github.io@ddd4b3a, CI).
2.0.0-alpha.39 appears to be published under |
Hi @ark120202 I've opened a PR here with a potential fix here: themgoncalves/react-loadable-ssr-addon#21 Not sure this is the solution to the problem, but at least doing this change locally did work for me. Maybe you could temporarily apply it with patch-package until we figure this out, and report us if it works fine? |
Yes, this patch also makes it work for me |
Great to know. Are you able to get your full site building without trouble or it just fixes the issue repo? |
I have tried it on the repository where I have found that issue originally (ModDota/moddota.github.io@ddd4b3a) |
* docs(v2): fix typo in ExecutionEnvironment example * upgrade react-loadable-ssr-addon for #2898 Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
fixed in next release (alpha 57 soon) |
🐛 Bug Report
Running
docusaurus build
in a project with swizzled DocItem and DocPage components throws an when server code is being evaluated.Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
@docusaurus/init
with classic templateblog
directoryyarn docusaurus swizzle @docusaurus/theme-classic DocItem
yarn docusaurus swizzle @docusaurus/theme-classic DocPage
yarn build
Expected behavior
docusaurus build
to finish successfullyActual Behavior
Failed CI logs
Your Environment
Reproducible Demo
https://github.com/ark120202/docusaurus-issue
The text was updated successfully, but these errors were encountered: