Skip to content
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

Swizzling theme-classic broken on latest release #2686

Closed
davekover opened this issue Apr 27, 2020 · 2 comments · Fixed by #2688
Closed

Swizzling theme-classic broken on latest release #2686

davekover opened this issue Apr 27, 2020 · 2 comments · Fixed by #2688
Labels
bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers

Comments

@davekover
Copy link

davekover commented Apr 27, 2020

🐛 Bug Report

Unable to swizzle theme-classic components on v2.0.0-alpha.53

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

  1. Start fresh and install v2.0.0-alpha.53
    (npx @docusaurus/init@next init my-website classic)
  2. Run example swizzle command
    (yarn run swizzle @docusaurus/theme-classic Footer)

Expected behavior

After running, swizzled component would appear in project folder.

Actual Behavior

Command errors out.

Screen Shot 2020-04-27 at 4 02 51 PM

Your Environment

  • Docusaurus version used: v2.0.0-alpha53
  • Environment name and version: yarn v1.22.4, Node.js v13.10.0
  • Operating system and version (desktop or mobile): macOS 10.15.1 (19B88)

Reproducible Demo

@davekover davekover added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Apr 27, 2020
@lex111
Copy link
Contributor

lex111 commented Apr 28, 2020

@davekover this issue should be fixed in v2.0.0-alpha.54. Please use that version (or install new fresh website). Sorry for that!

@davekover
Copy link
Author

Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants