You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried everything to find the problem, but it only happens when I host it on vercel
Is it a problem with my code? or a shiki bug that happens only on vercel?
Reproduction
Host a shiki code with SSR on vercel
Contributes
I am willing to submit a PR to fix this issue
I am willing to submit a PR with failing tests
The text was updated successfully, but these errors were encountered:
Validations
Describe the bug
When running my app locally I can open pages that contain shiki and works perfectly, but on vercel I get this error
Cannot find module '/var/task/node_modules/shiki/dist/wasm.mjs' imported from /var/task/node_modules/shiki/dist/bundle-full.mjs
When navigating to the page, the error doesn't occur, only when I reload the page (I guess when the page is loaded trough SSR)
Code
Example
I tried everything to find the problem, but it only happens when I host it on vercel
Is it a problem with my code? or a shiki bug that happens only on vercel?
Reproduction
Host a shiki code with SSR on vercel
Contributes
The text was updated successfully, but these errors were encountered: