esm-dev / esm.sh

A fast, smart, & global CDN for modern(es2015+) web development.
https://esm.sh
MIT License
2.95k stars 143 forks source link

Failed to import - @mui/icons-material/DeleteOutline #796

Open hmd-ai opened 4 months ago

hmd-ai commented 4 months ago

Failing module

import DeleteOutlineIcon from '@mui/icons-material/DeleteOutline';

Error message

After onload I got this:

/* esm.sh - error */
throw new Error("[esm.sh] " + "pnpm add @mui/icons-material@5.14.19,--prefer-offline:  ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@mui%2Fzero-runtime: Not Found - 404\n\nThis error happened while installing a direct dependency of /esmd/npm/@mui/icons-material@5.14.19\n\n@mui/zero-runtime is not in the npm registry, or you have no permission to fetch it.\n\nNo authorization header was set for the request.\n");
export default null;

Additional info

hmd-ai commented 4 months ago

This issue seems to be related to the material ui package. However, is there something that esm.sh could do to avoid issues like these suddenly breaking the builds.