-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
biome server bugs out on config, CLI works with the same. #83
Comments
Can you provide a reproduction? |
What do you mean by a reproduction in this sense? The jetbrains plugin fails, the CLI works with these settings (within the same project). |
With minimal reproduction, I mean the minimal project (repository) where you can reproduce the issue consistently. I have a project very similar to yours, and I don't encounter the issue. That's why it's important to have a brand you project, because it's possible that there are user settings that might interfere with the project |
Sure, I'll set one up over the weekend. |
Hi, I think i have the same issue, pretty sure it has something to do with WSL and the LSP server, I have the exact same issue in vscode
|
I can confirm there is some kind of interference from the project itself. I haven't had time to dig deeper than a superficial check. |
This bug is related to the lack of support to wsl. there are other 2 bugs related to the same error. I don't know if maintainers are planning some kind of support since we are reporting the same problem time by time :p |
For the record, the fix I posted in the other thread does work nicely for me:
|
But this is not a fix, because you are using WSL to avoid to install software in your host (in some company laptops you can't install what you want). The real fix is to use the executable inside WSL. |
I've got Biome setup with PhpStorm. It works perfectly fine from the commandline.
However the 'integrated server' fails for automated fixes with the following error on startup:
"Biome: The configuration file has errors. Biome will report only parsing errors until the configuration is fixed."
System: W11 with WSL2-ubuntu
PhpStorm: 2024.2.0.1
Biome: 1.8.3
Devdependencies:
"@biomejs/biome": "1.8.3",
"@biomejs/cli-linux-x64": "^1.8.3",
"@biomejs/cli-win32-x64": "^1.8.3",
PhpStorm Biome settings:
biome.json in root of the project
I don't see anything wrong with this config and running biome format/lint through the CLI works perfectly fine with these settings.
Am I doing something wrong or have I stumbled upon a bug?
With kind regards
Bas.
The text was updated successfully, but these errors were encountered: