Can't resolve '@emotion/core'
Author: lindaJNlindaCreated Feb 22, 2022Updated Jul 29, 2024
Bug Report
Generating development SSR bundle failed Can't resolve '@emotion/core' in .........
docz: 2.4, react, and react-dom 17 in my project, when i run docz dev have the problem.
so i yarn add @emotion/core, but appear new problem : "The @emotion/core package has been renamed to @emotion/react. Please import it like this import { jsx } from '@emotion/react'.",
so i yarn @emotion/react the problem do not disappear。
i have another question,in my package.json just docz react react-dom ,but i find gatsby, gatsby-cli ...... in node_modules
Source: pedronauck/docz