-
-
Notifications
You must be signed in to change notification settings - Fork 61
Description
VS Code version
1.105.1
Extension version
3.3.0
Biome version
2.3.1
Operating system
- Windows
- macOS
- Linux
Description
I've got fnm version 1.38.1 installed.
The following is the result of Get-Command biome
PS C:\> Get-Command biome
CommandType Name Version Source
----------- ---- ------- ------
ExternalScript biome.ps1 C:\Users\micha\AppData\Local\fnm_multishells\15776_1761628874181\biome.ps1
PS C:\>I am able to execute Biome without error from PowerShell directly.
If I attempt to use the Biome VSCode extension I get the following in the "OUTPUT" tab
2025-10-28 14:24:20.951 [info] 🔒 Started listening for lockfile changes.
2025-10-28 14:24:20.952 [info] ⚙️ Started listening for extension settings changes.
2025-10-28 14:24:20.952 [warning] 🔍 Could not find global Node Modules path for npm
2025-10-28 14:24:21.709 [error] Unable to find the Biome binary.
and I am unable to format any files.
If I update "biome.lsp.bin" to point to the node_modules folder of a project with Biome installed, I can work around this. But I am unable to use the globally installed instance of Biome.
If I specify ,"biome.lsp.bin": "C:\\Users\\micha\\AppData\\Local\\fnm_multishells\\15776_1761628874181\\biome.ps1" then I get the following output
2025-10-28 14:47:07.427 [info] 🔒 Started listening for lockfile changes.
2025-10-28 14:47:07.427 [info] ⚙️ Started listening for extension settings changes.
2025-10-28 14:47:07.427 [warning] 🔍 Unshimmed Biome binary from "c:\Users\micha\AppData\Local\fnm_multishells\15776_1761628874181\biome.ps1" to "C:\Users\micha\AppData\Roaming\fnm\node-versions\v24.4.0\installation\node_modules\@biomejs\biome\node_modules\@biomejs\cli-win32-x64\biome.exe"
2025-10-28 14:47:07.846 [info] ✅ Biome is ready.
However, then I get a popup saying, "biome client: couldn't create connection to server." and formatting does not work.
Steps to reproduce
- Install fnm on Windows
- Use
npm i -g @biomejs/biometo install Biome globally - Install the Biome VSCode extension
- Attempt to format a file.
Expected behavior
I expect that the Biome binary would be found.
Does this issue occur when using the CLI directly?
No
Link to a minimal reproduction
No response
Logs
2025-10-28 14:24:20.951 [info] 🔒 Started listening for lockfile changes.
2025-10-28 14:24:20.952 [info] ⚙️ Started listening for extension settings changes.
2025-10-28 14:24:20.952 [warning] 🔍 Could not find global Node Modules path for npm
2025-10-28 14:24:21.709 [error] Unable to find the Biome binary.