Not able to install icons yarn add @material-ui/icons package
See original GitHub issue- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
info There appears to be trouble with your network connection. Retrying…
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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Unable to install @mui/material-icons last version #12432
Hello, since @material-ui/icons v2.0.1, I'm unable to install it using yarn (v1.9.2). ... yarn fails to load icons package #12460.
Read more >@material-ui/icons | Yarn - Package Manager
This package provides the Google Material icons packaged as a set of React components. Installation. Install the package in your project directory with:...
Read more >How can I import Material UI icons?i met some problems using ...
The icons module should be added to dependencies. Use npm npm install @material-ui/icons. Or use Yarn yarn add @material-ui/icons.
Read more >@material-ui/icons - npm
Installation. Install the package in your project directory with: // with npm npm install @material-ui/icons // with yarn yarn add ...
Read more >Installation - Material UI - MUI
yarn add @mui/material @emotion/react @emotion/styled ... To install the Material Icons font in your project using the Google Web Fonts CDN, add the ......
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
#26310 was reverted in #26656 as it breaks Next.js.
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. justimport { 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
.