-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Bad error when trying to swizzle a theme component #3408
Comments
I just ran into the same thing. The message is rather confusing, but what is even more confusing is that the suggested I can make component swizzling work only for the provided example in the docs -
|
Well, actually I was running this with |
@compojoom yes this is confusing, we'll fix this. Afaik older npm/yarn might need |
hey @slorber I also faced this error " I think we could bring more clarity in the Error message by saying something like "If the error still exists, |
I'm not sure what you mean @CovalentBond . |
🐛 Bug Report
Run
yarn workspace docusaurus-2-website swizzle @docusaurus/theme-classic Layout
on this repoThe error is expected as it's an internal theme component, not necessarily recommended for swizzling (at your own risks).
But this message seems unexpected to me.
The text was updated successfully, but these errors were encountered: