biomejs/biome-vscode

๐Ÿ› Cannot find installed biome binary

Closed this issue ยท 3 comments

VS Code version

1.91.1

Extension version

v2024.8.301002

Biome version

1.8.3

Operating system

  • Windows
  • macOS
  • Linux

Description

SCR-20240909-jquh SCR-20240909-jqvm

Steps to reproduce

I simply added this:

yarn add --dev @biomejs/biome
npx biome init

I also installed the prerelease version of this extension.

Expected behavior

Biome binary from node modules should be found.

Does this issue occur when using the CLI directly?

Not sure / Not applicable

Link to a minimal reproduction

No response

Logs

2024-09-09 10:31:51.668 [info] Biome extension activated
2024-09-09 10:32:54.370 [error] Failed to start Biome extension
2024-09-09 10:32:54.370 [info] Biome extension started
2024-09-09 10:32:54.370 [info] User-facing commands registered
2024-09-09 10:32:54.370 [info] Started listening for lockfile changes
2024-09-09 10:32:54.370 [info] Started listening for configuration changes
2024-09-09 10:32:54.370 [info] Started listening for active text editor changes
2024-09-09 10:32:57.702 [info] 





2024-09-09 10:32:57.702 [info] Biome extension activated

PS: This works when using the stable version of the extension.

There was an issue where the extension attempted to create a global session before creating a project session. If that failed for some reason, the rest wouldn't work. I believe 899efe1 fixes that. Would you mind trying the latest pre-release (v2024.9.91939)?

I'll close in the meantime, but feel free to circle back if it does not fix the issue.

This seems to work, thanks!