tinymist icon indicating copy to clipboard operation
tinymist copied to clipboard

VSCode extension unable to find tinymist program

Open julianvu opened this issue 1 month ago • 5 comments

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

Image

julianvu avatar Nov 23 '25 16:11 julianvu

same problem with vscode 1.106.2 and tinymist 0.14.2

Tbl0x7D6 avatar Nov 23 '25 16:11 Tbl0x7D6

related #2264

Myriad-Dreamin avatar Nov 23 '25 18:11 Myriad-Dreamin

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.

Myriad-Dreamin avatar Nov 23 '25 18:11 Myriad-Dreamin

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

uripont avatar Nov 24 '25 16:11 uripont

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

1oannis avatar Nov 25 '25 10:11 1oannis