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
As I have been progressing through stabilizing my new expressive-code-twoslash Expressive code plugin, one of the issues I've been facing is the inability to use the showEmit functions. It seems that the VFS is not being appended correctly, I've tried reading through the source of both shiki-twoslash as well as twoslash and it seems like this should be handled automatically by twoslash, but the only thing I seem to get is the error "unable to find file from virtual file system containing ." for any codeblock I try to enable showEmit on. Would appreciate any input that could help resolve this issue.
## Cannot find the output file in the Twoslash VFS
Looking for index.js in the Twoslash vfs after compiling
Looked for" /home/native/Documents/Repos/EC-Plugins/docs/twoslash/index.js in the vfs - which contains .
As I have been progressing through stabilizing my new
expressive-code-twoslash
Expressive code plugin, one of the issues I've been facing is the inability to use theshowEmit
functions. It seems that the VFS is not being appended correctly, I've tried reading through the source of bothshiki-twoslash
as well astwoslash
and it seems like this should be handled automatically bytwoslash
, but the only thing I seem to get is the error "unable to find file from virtual file system containing ." for any codeblock I try to enableshowEmit
on. Would appreciate any input that could help resolve this issue.With EC:
Input:
Error:
Project Github for reference: https://github.com/MatthiesenXYZ/EC-Plugins/tree/main/packages/twoslash
The text was updated successfully, but these errors were encountered: