Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

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

@lindaJNlinda

Description

@lindaJNlinda

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions