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

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

Open roziscoding opened this issue 3 years ago • 0 comments

Failing module

  • GitHub: https://github.com/shikijs/shiki
  • npm: https://www.npmjs.com/package/shiki
import { getHighlighter } from 'https://esm.sh/[email protected]';

Error message

After running deno run I got this:

error: Uncaught SyntaxError: The requested module '/v89/[email protected]/deno/vscode-textmate.js' does not provide an export named 'INITIAL'
    at <anonymous> (https://esm.sh/v89/[email protected]/deno/shiki.js:2:574)

Additional info

  • esm.sh version:v89
  • Deno version:deno 1.24.0 (release, x86_64-unknown-linux-gnu)

roziscoding avatar Aug 04 '22 21:08 roziscoding