Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v5-alpha.11] Could not find dependency: '@emotion/styled' #22805

Closed
2 tasks done
numToStr opened this issue Sep 29, 2020 · 2 comments
Closed
2 tasks done

[v5-alpha.11] Could not find dependency: '@emotion/styled' #22805

numToStr opened this issue Sep 29, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@numToStr
Copy link
Contributor

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

First of all congratulations on introducing unstyled components ❤️ 🎉 .

Current Behavior 😯

I am getting this error after updating from alpha.10 to alpha.11.

Could not find dependency: '@emotion/styled' relative to '/node_modules/@material-ui/styled-engine/esm/index.js'

Do I need to install @emotion/styled and @emotion/core as well? As there is no mention of installation in the changelog.

Expected Behavior 🤔

No error.

Steps to Reproduce 🕹

https://codesandbox.io/s/sliderstyled-with-styled-components-forked-4rtsn

Your Environment 🌎

Tech Version
Material-UI v5.0.0-alpha-11
React 16.13.1
Browser Chromium: 85.0.4183.83
TypeScript 4.0.3
OS Linux
@numToStr numToStr added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 29, 2020
@mnajdova
Copy link
Member

@numToStr thanks for reporting. Yes, you need to install @emotion/core & @emotion/styled too. Closing as duplicate of #22777 - installation guide was updated.

@mnajdova mnajdova added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 29, 2020
@ghost
Copy link

ghost commented Oct 11, 2020

@mnajdova , Hi. I waited for the alpha release 12 to update, just to clarify, the dependencies need to be on my package, i.e Material UI will not install it internally? And Emotion its used for performance in <Box /> by what I have read from the releases?!?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants