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

Failed to import - @milkdown/crepe

Open hmd-ai opened this issue 1 year ago • 1 comments

Failing module

  • GitHub: https://github.com/Milkdown/milkdown
  • npm: https://www.npmjs.com/package/@milkdown/crepe
import "@milkdown/crepe/lib/theme/frame/style.css";

Error message

@milkdown/kit/prose/gapcursor/style/gapcursor.css:1:5: 1 │ File Not Found

Additional info

The correct path is @milkdown/kit/lib/prose/gapcursor/style/gapcursor.css There's an exports field in the package.json of @milkdown/kit that points to the correct path.

hmd-ai avatar Oct 06 '24 18:10 hmd-ai

can you please provide more details? then i can dig in, thanks!

ije avatar Oct 06 '24 18:10 ije