Silent bug
This page crashed. "useColorMode()" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.
This page crashed. "useColorMode()" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.
This page crashed. "useColorMode()" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.

https://www.google.com/search?q=Hook+is+called+outside+the+%3CColorModeProvider%3E%22
@docusaurus/theme-common missingwas not installed and included in dependencies within package.json
FIX: add to package.json & reinstall deps
FIX: npm i --force-legacy-deps BUT keep using react v18
https://github.com/facebook/docusaurus/issues/6724#issuecomment-1280912963
Working Playground IDE example
Don't use pnpm - it's buggy and the disk space savings aren't worth it!! Painful bugs like this aren't worth it...
TODO: Compare react-live live IDE vs my own @rjnote version later on.