Bad error when trying to swizzle a theme component
See original GitHub issue🐛 Bug Report
Run yarn workspace docusaurus-2-website swizzle @docusaurus/theme-classic Layout
on this repo
The 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.
Component “Layout” doesn’t exists. “Layout” is swizzled instead of “Layout”.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Docusaurus V2 not automatically use swizzled component
So I run npm run swizzle @docusaurus/theme-classic layout -- --danger which copy layout js and css file to the directory.
Read more >qnz - River Thames Conditions - Environment Agency - GOV.UK
Seeking arrangement bad experience, Persiska macka, Samsung intensity 3 battery ... Russ coson die trying, Yrrebkcalb, Penumbra overture main theme piano.
Read more >Unity 2022.2.0a18
HDRP: Fixed editor issue with the LiftGammaGain and ShadowsMidtonesHighlights volume components. HDRP: Fixed error on lens flare enabled causing ...
Read more >5 Pc Handmade Custom Mushroom Glass Swizzle Cocktail ...
Find many great new & used options and get the best deals for 5 Pc Handmade Custom Mushroom Glass Swizzle Cocktail Martini Stir...
Read more >Argument types - Minecraft Wiki - Fandom
This page contains a list of all command argument types. Must be a boolean (either true or false). Must be a Double-precision floating-point...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@compojoom yes this is confusing, we’ll fix this.
Afaik older npm/yarn might need
-- --danger
, the--
permit to pass extra args.I’m not sure what you mean @covalentbond . “If the error still exists” does not look correct to me and I prefer the current wording. About
-- --danger
, the double--
is needed for npm only, not yarn, but would be happy, to adapt to the user’s package manager automatically