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.

Broken @material-ui dependency?

See original GitHub issue

Hi, I am trying to include your Component in a React project of mine.

Running “@material-ui/core”: “^4.3.1”,

Getting the following errors:

./node_modules/react-image-annotate/Theme/index.js
Module not found: Can't resolve '@material-ui/core/styles/MuiThemeProvider' in '.../node_modules/react-image-annotate/Theme'

When I go back to a Version 3.9.3 of @material-ui the MuiThemeProvider is found. But the @material-ui/lab/Slider dependency from material-survey will be lost.

Can't resolve '@material-ui/lab/Slider' in '.../node_modules/material-survey/components/RatingQuestion'

Or it may be related to this

Any suggestions?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
oliviertassinaricommented, Oct 26, 2019

Notice that Material-UI v4.5.2 will soon come out with a warning instead of an exception for the import of this private module.

1reaction
seveibarcommented, Oct 25, 2019

@ArcticTee thanks for reporting, assigning myself to fix this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Material UI - MUI
There are two reasons why component styles may be broken after you've ... be caused by other dependencies in the app that still...
Read more >
Broken Build (Bad Internal Dependencies?) #23750 - GitHub
A peer dependency means that a package ( @material-ui/style(d)-engine in this case) expects the dependency to be provided by someone else† (the "peer"...
Read more >
Dependency errors with react/react/material-ui and more on ...
this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. Sorry for the ...
Read more >
@material-ui/styles | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
fix the upstream dependency conflict or retry material ui
Seems like your dependency tree is either broken or the packages you are trying to install have dependencies on their own that are...
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