-
-
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
🐛 Can't use VSCode extension (node not found) #19
Comments
Is your OS supported? I saw this error before, most of the time it's because Biome runs on an OS that is not supported |
It definitely is, I'm running Ubuntu (on WSL) I also don't think running VSCode Remote on WSL2 messes something up. |
|
Starting using Biome in Bun environments and it ran mostly fine, tried to adopt it in a NodeJS environment (running on WSL2 Ubuntu) and running into the same error (exit code 127):
|
Is there a way to run vscode extension with bun? |
We don't have a bun script with the bun shebang, but if you're interested we welcome any PR to do so |
@ematipico unfortunately vscode languageclient does not yet support bun as a runtime microsoft/vscode-languageserver-node#1321 I'll try submit a PR on biome once there is advances on vscode. |
Related to biomejs/biome#412 @hyoretsu have you tried this? ⬆️ |
Same problem on macOS 13.5.2 (22G91) with node v18.13.0 (via nvm). |
It didn't work, I tried restarting both WSL and my computer. |
Hey 👋, this issue may be fixed in the latest nightly version. Could you try it and tell us if you're still experiencing the issue? Here's the command to install the nightly version
After your tests, you can revert to the current stable version with the following command.
|
This was not fixed 4 days ago for me (not speaking for anyone else), but a couple of hours ago with the most recent VSCode update. I'm not sure if VSCode updates also bump all the plugins to their latest versions, or if this was released in a non-nightly version - but it's definitely fixed, amazing! 🥳 |
@Mirasaki, could you tell which version you’re currently on ? |
Biome doesn't work for me either in WSL. Funnily enough, it isn't working on Windows either, when both Prettier and ESLint do, and I have installed biome both in the local as well as the global environments. I've tried with Node 18 and 20, no luck. VS Code is up to date Edit: It's because my config file is inside the |
@BoscoDomingo you might want to open a different issue/discussion in the biome-vscode repository, and propose the feature |
Yup, did so right after editing the comment. Thanks! |
I believe this issue has been fixed in a previous release of the extension. I'll close the issue to keep the repo tidy, but feel free to reopen it if you reencounter it. Thanks! |
Environment information
What happened?
I can run it from the CLI just fine, but the extension throws this error:
Expected result
It should work just fine.
Code of Conduct
The text was updated successfully, but these errors were encountered: