-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
material-ui-icons-next wrong peerDependencies #10189
Comments
Current workaround: #8473 (comment) 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. |
Ok, I still have a problem with that.
My whole app is based on v0.20, but I want to migrate all icons to material-ui-icons-next and I'm using them like this:
And now, after the build on Bamboo I have an error: On the beginning of my App.js I've added the code that was mentioned as a workaround, but probably is not completely related to my case.
|
I'm closing the issue as the pain point was solved temporarily with #9469. No need to keep it open. @nitkapawel Why don't you do? - "material-ui-icons-next": "^1.0.0-beta.17-next",
+ "material-ui-icons": "^1.0.0-beta.17", |
There is no matter if I'm using material-ui-icons-next or material-ui-icons.
So the error is saying that im missing material-ui@^1.0.0-beta.16 |
@nitkapawel I used to have this warning too. It should be temporary the time of the migration. At the end of the day, it's a warning reminding you to complete the migration. It's not a blocker. |
This would suppress the warning. But I'm not convinced it's a good thing. import SvgIcon from 'material-ui-next/SvgIcon';
global.__MUI_SvgIcon__ = SvgIcon; |
Currently 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.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:
Expected Behavior
material-ui-icons-next package.json:
The text was updated successfully, but these errors were encountered: