-
Notifications
You must be signed in to change notification settings - Fork 21
Failed to find typst-ws executable in VSCode remote #41
Comments
TLDR: You may download typst-ws-win32-x64.exe from release and put it in your $PATH. I guess it will fix this issue as a workaround. I will try to figure out how to better support vscode-remote-* enironment when I have time.
I didn't test it on vscode-remote-* environments. But I guess the problem here is that the extension(running in windows) tries to execute
This extension works by compling your typst files to images (framebuffers, in effect) and send them throught websocket. These function are implemented in |
typo: download and rename it to But I'm afraid that this still won't work because it seems that the |
The The key is that the function checks to install a suitable executable for its inhabiting machine. |
I can confirm this does not work. |
After the v0.6.0 update, there are multiple websocket connections to be established between This extension provides full platform support and features low rendering latency. And I think running it on your local machine would give better UX. Anyway, I will kept this issue open and I would take a look when I have time. |
We are starting to understand why this is happening thanks to the work of @Bubbleioa at #83. In short, there are two bugs.
If you use the latest Ubuntu, remote preview will likely to work after #83 is merged. But I would suggest always using this extension on your local machine because previewing remotely introduces unnecessary network roundtrip. Update: We are also downgrading the ci image to ubuntu-20.04 and hope it should work for ubuntu 2004 users. |
My environment is WSL ubuntu 20.04.
I just click the button at the up-right corner in my vscode, it's
Typst Preview : preview current file
, then the extension seems to not work well.One error message says
Another message says
It seems that the
typst-ws
is not found. I have no idea what it is.Does the typst preview extension require installing typst throught rust tool chains ? I actually did it, and compiling a
*.typ
file into*.pdf
usingtypst watch
command works well on my laptop.The text was updated successfully, but these errors were encountered: