Is there an existing issue for this?
Platform
ARM64 Linux (linux-arm64)
Editor
VS Cod(e,ium)
Editor Version
1.116.0
Describe the bug
Hi,
While trying to use tinymist 0.14.16 in a devcontainer based on typst image (Alpine linux) on an ARM host (Apple Silicon mac, shouldn't matter much?) I encounter the error reported below.
It looks like the tinymist binary is not located in /root/.vscode-server/extensions/myriad-dreamin.tinymist-0.14.16/out/. Manually downloading the executable and placing it there fixes the issue.
As a result the preview and the other features of tinymist do not work.
Server Logs
Browser Logs
Cannot find a valid tinymist binary. Some features like auto-formatting on Enter may not work. Please check your tinymist.serverPath configuration. Exception: Error: Could not find a valid tinymist binary. Bundled ('/root/.vscode-server/extensions/myriad-dreamin.tinymist-0.14.16/out/tinymist'): failed to probe: error: spawnSync /root/.vscode-server/extensions/myriad-dreamin.tinymist-0.14.16/out/tinymist ENOENT In PATH ('tinymist'): failed to probe: error: spawnSync tinymist ENOENT
Additional context
Versions 0.14.2, 0.14.8, 0.14.10 work just fine
One difference I noticed is that the new version seems unable to detect the platform
~/.vscode-server/extensions/myriad-dreamin.tinymist-0.14.16 # grep -i platform package.json
"targetPlatform": "undefined",
while the old ones are
~/.vscode-server/extensions/myriad-dreamin.tinymist-0.14.10-alpine-arm64 # grep -i platform package.json
"targetPlatform": "alpine-arm64",
What I tried and did not fix:
- Reinstalling the extension
- Restarting vscode
- deleting the container, images and volumes created by vscode
Is there an existing issue for this?
Platform
ARM64 Linux (linux-arm64)
Editor
VS Cod(e,ium)
Editor Version
1.116.0
Describe the bug
Hi,
While trying to use tinymist 0.14.16 in a devcontainer based on typst image (Alpine linux) on an ARM host (Apple Silicon mac, shouldn't matter much?) I encounter the error reported below.
It looks like the
tinymistbinary is not located in/root/.vscode-server/extensions/myriad-dreamin.tinymist-0.14.16/out/. Manually downloading the executable and placing it there fixes the issue.As a result the preview and the other features of tinymist do not work.
Server Logs
Browser Logs
Additional context
Versions 0.14.2, 0.14.8, 0.14.10 work just fine
One difference I noticed is that the new version seems unable to detect the platform
while the old ones are
What I tried and did not fix: