Skip to content

Can't resolve '@emotion/core'  #1719

Open
@lindaJNlinda

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions