Skip to content

beta 2.0.15 - @theme/hooks/ was refactored.  #125

@JohannesFerner

Description

@JohannesFerner

When upgrading to beta 2.0.15 the following issue is arising:

Module not found: Error: Can't resolve '@theme/hooks/useThemeContext' in '..../node_modules/redocusaurus/node_modules/docusaurus-theme-redoc/dist-jsx/theme/Redoc'
[ERROR] Client bundle compiled with errors therefore further build is impossible.

Please see the breaking change here:
https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md#boom-breaking-change
as well as here:

refactor: move @theme/hooks to @docusaurus/theme-common](facebook/docusaurus#6289)
facebook/docusaurus#6289

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions