forked from errata-ai/vale-vscode
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The extension v0.32.0 bundles a vale-ls binary for macOS (Mach-O arm64) but the release is installed on Linux x86_64. On Linux the language server fails with "cannot execute binary file" and exits with code 126, causing the extension to repeatedly crash.
To reproduce
- Install
ChrisChinchilla.vale-vscodev0.32.0 on a Linux x86_64 machine. - Open a file that triggers Vale; check Output → Vale.
- Observe the server failing to start.
Relevant logs
Server process exited with code 126
/home/<user>/.vscode/extensions/chrischinchilla.vale-vscode-0.32.0/vale-ls: cannot execute binary file
Cannot call write after a stream was destroyed
Environment
- OS: Fedora Linux x86_64
- Extension: chrischinchilla.vale-vscode v0.32.0
Workaround I used
I backed up the bundled asset to ~/.vscode/extensions/chrischinchilla.vale-vscode-0.32.0/vale-ls.macho-arm64.bak and replaced it with the x86_64 vale-ls from the official errata-ai/vale-ls releases. After that the language server started successfully.
Suggested fix
- Include proper platform binaries for Linux x86_64, or
- Allow an extension setting to override the
vale-lspath, or - Improve packaging CI so the packaged binary matches the target platform.
Thanks for the extension; happy to provide more logs or commands if helpful
phagenlocher
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working