Open Santosh-13 opened 3 years ago
@Santosh-13 which version are you trying to install?
Duplicate of #12432?
@oliviertassinari , https://github.com/mui-org/material-ui/issues/12432#issuecomment-411046157 has the fix in the discussion and it worked. I think this issue can be closed.
Thank you:)
which version are you trying to install?
Looking at your screenshot, I conclude v4, which we haven't changed for a year.
@eps1lon would you rather keep this issue open so we can talk about future improvements or close as a duplicate?
With developers keep struggling on v4, and v5 adding a good +30% more icons, it seems that we need to do something about it.
With developers keep struggling on v4, and v5 adding a good +30% more icons, it seems that we need to do something about it.
Agreed. I do have some ideas that should hopefully get us down to the v4 install size. Even going so far as just shipping ES modules since we no longer support node 10 but that's a bit more prone to bugs.
import * as React from 'react'
with import of what we need (e.g. just import { Fragment } from 'react';
But that requires an update to the icons itself which aren't checked in. So first we need to update the icons (probably ignore the new ones) and then vendor in material-ui-icons/material-icons
.
Current Behavior ๐ฏ
Expected Behavior ๐ค
Steps to Reproduce ๐น
Steps:
1.yarn add @material-ui/icons, showing network errors
Context ๐ฆ
Your Environment ๐
`npx @material-ui/envinfo`
``` Don't forget to mention which browser you used. Output from `npx @material-ui/envinfo` goes here. ```