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.

Issue with Codesandbox

See original GitHub issue
Screen Shot 2021-05-28 at 10 34 31 AM

Material UI not working in Codesandbox, it throws DependencyNotFoundError Could not find dependency: '@emotion/styled' relative to '/node_modules/@material-ui/styled-engine/index.js'.

We can fix this by adding the dependecies,

@emotion/react @emotion/styled

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

Current Behavior 😯

Expected Behavior 🤔

Steps to Reproduce 🕹

Steps:

  1. Clicking on Code Sandbox from Material UI throws dependency not found.

Context 🔦

Your Environment 🌎

`npx @material-ui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @material-ui/envinfo` goes here.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
johnsonsamuelcommented, May 28, 2021

@mnajdova I cleared everything from my chrome browser and now it works 🤷🏽‍♂️. Thank you so much Material UI team for the instant replies. 🙏🏽

0reactions
oliviertassinaricommented, May 28, 2021

I can’t reproduce it either.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · codesandbox/codesandbox-client - GitHub
Issues list ; NPM dependency not install, receive CORS error when fetch typings. #7280 opened 8 hours ago ; Vue2 + CodeSandbox +...
Read more >
Problems - CodeSandbox
VS Code's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VS Code. Manage Extension.
Read more >
Problem - CodeSandbox
VS Code's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VS Code. Manage Extension.
Read more >
FAQs - CodeSandbox
Yes. Container sandboxes on CodeSandbox have a persistent filesystem, so you're able to use file-based database options like SQLite, Lowdb, and NeDB. For...
Read more >
Setup your first sandbox - CodeSandbox
An easy way to import a repo to CodeSandbox via URL is with GitHubBox.com. Append 'box' to your github.com URL in between 'hub'...
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