You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docusaurus 2.0.0-beta.19 and 2.0.0-beta.20 introduced breaking changes preventing us from upgrading from 2.0.0-beta.18. This issue will be used for both bug and progress tracking as we work through the issues.
Expected behavior
There should be a viable upgrade path moving from 2.0.0-beta.18 to beta.19 or beta.20.
Current behavior
Currently, we're able to run beta.19 and beta.20 in dev server only - production builds are not possible. The errors suggest possible issue with legacy or incompatible module exports in docusaurus-theme-openapi-docs.
TypeError: chalk_1.default.bold is not a function
TypeError: chalk_1.default.bold is not a function
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
at /Users/sserrata/projects/panw/docusaurus-openapi/node_modules/@docusaurus/core/lib/webpack/utils.js:182:24
at /Users/sserrata/projects/panw/docusaurus-openapi/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/Users/sserrata/projects/panw/docusaurus-openapi/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/Cellar/node/17.4.0/bin/node
Arguments: /usr/local/lib/node_modules/yarn/lib/cli.js build
Directory: /Users/sserrata/projects/panw/docusaurus-openapi/demo
Output:
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Decided it wouldn't hurt to review and remediate all @ts-ignore usage throughout the project, that could otherwise be masking underlying problems. See #80 for details.
Describe the bug
Docusaurus
2.0.0-beta.19
and2.0.0-beta.20
introduced breaking changes preventing us from upgrading from2.0.0-beta.18
. This issue will be used for both bug and progress tracking as we work through the issues.Expected behavior
There should be a viable upgrade path moving from 2.0.0-beta.18 to beta.19 or beta.20.
Current behavior
Currently, we're able to run beta.19 and beta.20 in dev server only - production builds are not possible. The errors suggest possible issue with legacy or incompatible module exports in
docusaurus-theme-openapi-docs
.Progress
@ts-ignore
throughout project [Polish] Cleanup @ts-ignore usage throughout project #80useColorMode
hook (ensure calling component is wrapped inLayout
)The text was updated successfully, but these errors were encountered: