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

Invariant Violation: addComponentAsRefTo(...) #2288

Closed
prashaantt opened this issue Nov 27, 2015 · 1 comment
Closed

Invariant Violation: addComponentAsRefTo(...) #2288

prashaantt opened this issue Nov 27, 2015 · 1 comment
Labels
bug 🐛 Something doesn't work core Infrastructure work going on behind the scenes package: material-ui Specific to @mui/material

Comments

@prashaantt
Copy link

New to React and MUI here. I know this is a common issue and usually goes away by removing conflicting React versions, but I've verified that there's only one version of React in my project (per npm ls | grep react).

My code (adapted from the live example) looks like this:

...
render() {

  return (
    <div>
      <Paper .../>
      <Popover .../>
    </div>
  );
}
...

Paper works on its own, but not when combined with Popover. I'm using Webpack to build React 0.14 and MUI 0.13.

@prashaantt
Copy link
Author

Never mind, deleting all of my node_modules and npm installing again fixed this for me.

@zannager zannager added bug 🐛 Something doesn't work package: material-ui Specific to @mui/material labels Dec 23, 2022
@zannager zannager added the core Infrastructure work going on behind the scenes label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work core Infrastructure work going on behind the scenes package: material-ui Specific to @mui/material
Projects
None yet
Development

No branches or pull requests

2 participants