-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 "Cannot open shim file for read." when using biome-win32-x64.exe #389
Comments
Not a Windows user myself, so any help here would be appreciated. Also, are we certain that this is an issue with Biome, and not Scoop itself.
This seems like an error that Scoop would print out. |
If Biome is installed through Scoop, the binary gets downloaded GitHub, and extracted to a directory. To keep your environment variables clean, it creates a shim for the
The release version of the extension seems to handle shims just fine. I can run This issue probably isn't specific to Scoop, but to any shim for the
Scoop itself doesn't print any errors from what I know, all it does is download the binary and create a shim for it. I tried to do a quick search for the source of the error message but I couldn't find it. It's also possible that this is a problem with one of the dependencies used to interact with the |
I just tried setting the path of LSP to the "biome.lsp.bin": {
"win32-x64": "C:\\Users\\lucas\\scoop\\apps\\biome\\current\\biome.exe"
}, Output Biome LSP (global session):
The Output tab still says |
Here are the new steps to reproduce:
Sorry for the confusion about Scoop. The error message made me believe this was a problem with the way the executable is shimmed. |
VS Code version
1.94.1
Extension version
2024.10.40751 (pre-release)
Biome version
1.9.3
Operating system
Description
Biome language server fails to initialize when installed via Scoop on Windows. This issue results in two error notifications:
This issue only happens with the pre-release version. The Release version can find the biome.exe shim:
Steps to reproduce
scoop install biome
. Make sure thebiome.exe
shim is in your PATH.biome.requireConfigFile
is set tofalse
(🐛biome.requireConfigFile
Ignored When Opening Single File in VSCode #390)Expected behavior
The Biome language server should start successfully, and Biome-related functionalities should work without errors.
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Link to a minimal reproduction
No response
Logs
The text was updated successfully, but these errors were encountered: