question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dist/onig.wasm not available in 0.11.0

See original GitHub issue

In our app we use shiki.setCDN('https://unpkg.com/shiki/'), and the code that loads dist/onig.wasm is redirecting from https://unpkg.com/shiki/dist/onig.wasm to the new https://unpkg.com/shiki@0.11.0/dist/onig.wasm

But this path doesn’t seem to exist in the 0.11.0 release: https://unpkg.com/browse/shiki@0.11.0/dist/

Is it intentional that there’s no dist/onig.wasm in the latest version? I can’t see any wasm files at all in the latest version. The code seems to still be trying to load dist/onig.wasm on the latest version: https://github.dev/shikijs/shiki/blob/33ae6b97eda78484460ac05b3338bc72a605194a/packages/shiki/src/loader.ts#L52

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ortacommented, Aug 13, 2022

Fixed in 0.11.1 - thanks for the report!

2reactions
ortacommented, Aug 11, 2022

Hrm, there’s no docs on how to deploy shiki, so it’s very possible that I shipped it wrong - will take a look

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sync with portage [Sun Jun 20 22:39:53 MSK 2021]. · 6ca4760903 ...
>=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] ... AC_MSG_ERROR([*** readline library not found or it doesn't support history ***]).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found