question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module not found: Can't resolve '@emotion/core'

See original GitHub issue

Hello,

After trying to install several versions of beta version 6 of React Diagrams, I have an error: Module not found: Can not resolve '@ emotion / core' Being used only in your package, why should I also install it on my project?

Thank you

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

13reactions
dylanvorstercommented, Mar 18, 2020

As per the docs, you need to install these dependencies. Its even listed in the package.json as a peer-dep. It even says when you run yarn, that your peer dependency is missing. It has even been asked here in the issue tracker before several times which can be searched for this very title.

10reactions
StarpTechcommented, Dec 16, 2019

Why did you close it? I have the same error with the latest version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module not found: Can't resolve '@emotion/react'
I had a similar issue and I resolved it by calling: npm install @emotion/react. or yarn add @emotion/react.
Read more >
Module not found: Can't resolve @emotion/react | bobbyhadz
To solve the error "Module not found: Error: Can't resolve '@emotion/react'", make sure to install the @emotion/react package by opening your terminal in ......
Read more >
Module not found : can't resolve emotion/ react and ... - YouTube
Module not found : can't resolve emotion / react and styled error solved in material UI and react JS. 3.1K views 11 months...
Read more >
@emotion/styled - npm
Start using @emotion/styled in your project by running `npm i @emotion/styled`. There are 6718 other projects in the npm registry using ...
Read more >
Module not found: Can't resolve '@emotion/react'-Reactjs
npm install @emotion/react. or yarn add @emotion/react. Noam Rathaus 4899. score:1. Only this worked for me: npm i @emotion/styled @emotion/core.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found