src/utils/errors.md
DO NOT EDIT, THIS IS HERE FOR LEGACY PURPOSES PRIOR TO THE MONOREPO SETUP. NOW AT PACKAGES/STYLED-COMPONENTS/SRC/UTILS/ERRORS.MD
Cannot create styled-component for component: %s.
Can't call method, once interleaveWithNodeStream is used, since it
will split the underlying styles into multiple parts.
interleaveWithNodeStream twice?getStyleTags, getStyleElement, or collectStyles after it?Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
The StyleSheetManager expects a valid target or sheet prop!
The clone method cannot be used on the client!
Trying to insert a new style tag, but the given Node is unmounted!
ThemeProvider: Please return an object from your "theme" prop function, e.g.
theme={() => ({})}
ThemeProvider: Please make your "theme" prop an object.
Missing document <head>
Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
This error was replaced with a dev-time warning, it will be deleted for v4 final. [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css`` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css
%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.