esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

Failed to import - https://esm.sh/@mdxeditor/[email protected]

Open Corei13 opened this issue 1 year ago • 0 comments

Failing module

  • GitHub: https://github.com/mdx-editor/editor
  • npm: https://npmjs.com/package/@mdxeditor/editor
import "https://esm.sh/@mdxeditor/[email protected]"

Error message

Uncaught TypeError: Import 'https://esm.sh/v135/@mdxeditor/[email protected]/denonext/dist/styles/globals.css.js' failed: 500 Internal Server Error
    at https://esm.sh/@mdxeditor/[email protected]:2:8
    at async <anonymous>:1:22```

Additional info

https://esm.sh/v135/@mdxeditor/[email protected]/es2022/dist/styles/globals.css.js resolves with following content

/* esm.sh - error */
throw new Error("[esm.sh] " + "could not resolve \"@mdxeditor/editor/dist/styles/globals.css\"");
export default null;

Corei13 avatar May 30 '24 17:05 Corei13