Skip to content

[docs] MUI 7.0.2: "Import error, can't find file: ./utils/createSvgIcon" when demos that imports "@mui/icons-material/*" in docs is run in StackBlitz #45974

Closed
@damzaky

Description

@damzaky

Related page

https://mui.com/material-ui/react-badge/

Kind of issue

Broken demo

Issue description

It seems like demos that imports @mui/icons-material/* are broken when run in StackBlitz (though they don't in codesandbox). Might have something to do with how things are exported on "@mui/icons-material": "7.0.2" and how StackBlitz imports them, because the demos work fine if I downgrade the icons-material to 7.0.1 (in StackBlitz).

Steps to reproduce:

  1. Open one of these
  2. Click on the Edit in StackBlitz icon

Context

Might be a minor issue, but if somebody uses a very similar environment to StackBlitz, they might run into the same issue

Search keywords: Import error, can't find file: ./utils/createSvgIcon

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions