-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Failed to run biome (zed 0.157.5) #52
Comments
I can't reproduce this issue, can you provide more information? Also check if |
I recently started having the same issue. In my case project dependencies are managed by yarn (pnp) so node_modules is largely empty. I do have the yarn sdks installed (https://zed.dev/docs/languages/yarn). I am able to make it work by forcing the path:
However this isn't ideal since it will need to be updated with every version update. |
I get the same error. The problem here is something else in my case for example. Clean install with yarn Error:
Error from sh: ❯ /private/var/www/project/node_modules/@biomejs/biome/bin/biome
zsh: permission denied: /private/var/www/project/node_modules/@biomejs/biome/bin/biome When I manually update permissions, extension then works in zed. When I run Issue is no longer present if I upgrade to latest yarn |
Currently, the extension will only try to use the LSP bin from Line 160 in aa9a622
There was a limitation in Zed at the time, where we were unable to check if the LSP bin exists in Which means that the yarn pnp is not supported OOB, so the workaround is to define the Biome LSP bin as @michalmo mentioned above. |
Getting a "Failed to run biome. Click to show error." Was working until the last few days. I'm assuming it was a
zed
update.The error:
My
biome.json
is at the root of the workspace.The relevant parts of my
zed
settings, with new additions from https://biomejs.dev/reference/zed/:zed 0.157.5, macOS 15.0.1
The text was updated successfully, but these errors were encountered: