material-ui-icons-next wrong peerDependencies
See original GitHub issueCurrently I’m using material-ui v0.20 and I want start the migration to v1. As it is written on the page: https://material-ui-next.com/guides/migration-v0.x I’ve installed the package material-ui-next to have to versions of material-ui (npm install material-ui-next).
Now I want to use material-ui-icons package. So my idea was to install the material-ui-icons-next that analogous should have the dependencies to material-ui-next not to material-ui package.
Current Behavior
npm WARN material-ui-icons-next@1.0.0-beta.17-next requires a peer of material-ui@^1.0.0-beta.16 but none was installed.
material-ui-icons-next package.json:
"peerDependencies": {
"material-ui": "^1.0.0-beta.16",
"react": "^15.3.0 || ^16.0.0",
"react-dom": "^15.3.0 || ^16.0.0"
}
Expected Behavior
material-ui-icons-next package.json:
"peerDependencies": {
"material-ui-next": ...
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
material-ui-icons-next wrong peerDependencies · Issue #10189
So my idea was to install the material-ui-icons-next that analogous should have the dependencies to material-ui-next not to material-ui package.
Read more >Issue with Material UI Icons npm installation - Stack Overflow
I was trying to install Material UI Icons in my Netflix-Clone React.js project with npm, but I got the following error -
Read more >Installation - Material UI - MUI
Install Material UI, the world's most popular React UI framework. Default installation. Run one of the following commands to add Material UI to...
Read more >fix the upstream dependency conflict or retry material ui
I am trying to add the Material-UI icons to my react app. I used the npm install @material-ui/icons and this is the error...
Read more >@material-ui/core | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Current workaround: https://github.com/mui-org/material-ui/pull/8473#issuecomment-333472103
This issue will be solved once we release Material-UI under a new npm organization in #9673. We will be able to close #9469 too.
This would suppress the warning. But I’m not convinced it’s a good thing. Especially given the situation is already pretty ugly with: