Closed
Description
- [ x] The issue is present in the latest release.
- [ x] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
import @material-ui/icons
fail, build nextjs fail
Expected Behavior 🤔
Should use normally
Steps to Reproduce 🕹
Steps:
- Install material-ui/icons
- Import icon and render
- npm run dev fail
Context 🔦
Your Environment 🌎
Chrome 91.0.4472.101
System:
OS: macOS 11.4
Binaries:
Node: 16.3.0 - ~/.nvm/versions/node/v16.3.0/bin/node
Yarn: Not Found
npm: 7.17.0 - ~/.nvm/versions/node/v16.3.0/bin/npm
Browsers:
Chrome: 91.0.4472.101
Edge: Not Found
Firefox: Not Found
Safari: 14.1.1
npmPackages:
@emotion/react: ^11.4.0 => 11.4.0
@emotion/styled: ^11.3.0 => 11.3.0
@material-ui/core: ^5.0.0-alpha.36 => 5.0.0-alpha.36
@material-ui/icons: ^5.0.0-alpha.36 => 5.0.0-alpha.36
@material-ui/private-theming: 5.0.0-alpha.35
@material-ui/types: 6.0.1
@material-ui/unstyled: 5.0.0-alpha.35
@material-ui/utils: 5.0.0-alpha.35
@types/react: 17.0.11
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
typescript: 4.3.2