VSCode extension unable to find tinymist program
Is there an existing issue for this?
- [x] I have searched the existing issues
Platform
Apple Silicon macOS (darwin-arm64, Most Common)
Editor
VS Cod(e,ium)
Editor Version
0.14.2
Describe the bug
On version 0.14.2, all tinymist commands/programs are unable to be found by the extension, and preview fails to render. Error messages all involve not being able to find tinymist. Downgrading to 0.14.0 works restores functionality.
Server Logs
Output panel is empty.
Browser Logs
Previewed in VSCode, not browser.
Additional context
same problem with vscode 1.106.2 and tinymist 0.14.2
related #2264
https://github.com/microsoft/vscode/issues/279050
Workaround 1:
- In vscod(e,ium), enter
ctrl +shift +x to goto the extension panel. - uninstall tinymist.
- reboot.
- goto the extension panel and reinstall tinymist.
- reload the window.
Workaround 2:
- goto release page https://github.com/Myriad-Dreamin/tinymist/releases and download vsix extension manually.
- goto the extension panel, and drag and drop the extension file to the panel.
- reload the window.
On tinymist 0.14.2, Workaround 2 works, workaround 1 failed:
Failed to activate tinymist: Error: Could not find a valid tinymist binary. Bundled ('.../.vscode/extensions/myriad-dreamin.tinymist-0.14.2/out/tinymist'): failed to probe: error: spawnSync .../.vscode/extensions/myriad-dreamin.tinymist-0.14.2/out/tinymist ENOENT In PATH ('tinymist'): failed to probe: error: spawnSync tinymist ENOENT
EDIT: Retrying Workaround 1 fixed it after having done Workaround 2
Same cause. Issues occured on 0.14.2.
Workaround 2 with a newer macos version works aswell. I specifically used darwin-arm64-v.0.14.4-rc1