biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
https://biomejs.dev
Apache License 2.0
15.44k stars 480 forks source link

πŸ› "tokio-runtime-worker" causing fatal error #3965

Closed calvinusesyourcode closed 4 weeks ago

calvinusesyourcode commented 2 months ago

What happened?

  1. The inciting incident was some voodoo react code that was breaking useEffect rules or something... I remember biome telling me that react might've been the issue.
  2. But now ever since, no matter how many different ways I've tried to uninstall and reinstall biome (darwin binary with curl, bun install --global, brew install, all with reinstalling vscode each time) it hasn't worked
  3. So I read the log and it's just this process "tokio-runtime-worker" failing over and over again

Environment information

./biome rage

CLI:
  Version:                      1.9.1
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           unset
  JS_RUNTIME_NAME:              unset
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

biome log

┐biome_cli::commands::daemon::Running Server{pid=6752}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=6784}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=6811}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=6813}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=6816}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10035}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10039}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10041}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=10043}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=10047}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=10216}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=10222}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10224}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10226}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10228}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_fs::fs Biome couldn't open the file "/Users/me/proj/biome.json", reason:
β”‚ Os { code: 2, kind: NotFound, message: "No such file or directory" }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.jsonc", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10537}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=10539}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal
┐biome_cli::commands::daemon::Running Server{pid=10541}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=10551}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
INFO biome_cli::commands::daemon Received shutdown signal
β”˜
┐biome_cli::commands::daemon::Running Server{pid=10553}
β”œβ”€ INFO biome_cli::service::unix Trying to connect to socket /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ INFO biome_cli::service::unix Remove socket folder /Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1
β”œβ”€ ERROR tower_lsp::transport failed to encode message: failed to encode response: Socket is not connected (os error 57)
β”œβ”€ INFO biome_lsp::server Starting Biome Language Server...
β”œβ”€ WARN biome_lsp::server The Biome Server was initialized with the deprecated `root_path` parameter: this is not supported, use `root_uri` instead
β”œβ”€ INFO biome_lsp::server Attempting to load the configuration from 'biome.json' file
β”œβ”€ INFO biome_lsp::session Detected workspace folder.
β”œβ”€ INFO biome_lsp::session Attempt to load the configuration file in Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/me/proj", query: None, fragment: None }
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/biome.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_lsp::session Couldn't load the configuration file, reasons:
└─┐biome_fs::fs::os::OsFileSystem::open_with_options{path="/Users/me/proj/package.json", options=OpenOptions { read: true, write: false, truncate: false, create: false, create_new: false }}
β”Œβ”€β”˜
└─┐biome_fs::fs::os::OsFile::read_to_string{}
β”Œβ”€β”˜
└─┐biome_json_parser::parse{}
β”Œβ”€β”˜
β”œβ”€ ERROR biome_cli::panic Biome encountered an unexpected error
β”‚ 
β”‚ This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
β”‚ 
β”‚ Source Location: crates/biome_service/src/settings.rs:74:14
β”‚ Thread Name: tokio-runtime-worker
β”‚ Message: You must have at least one workspace.
β”‚ 
β”˜
INFO biome_cli::commands::daemon Received shutdown signal

vscode output

Biome binary found at /Users/me/biome
Executing Biome from: /Users/me/biome
[cli-stdout] data 66
[cli] exit 0
Connecting to "/Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1" ...
[cli-stderr] data 393
[Info  - 6:29:43 PM] Connection to server got closed. Server will restart.
true
[cli-stderr] end
[cli-stdout] end
[cli-stderr] finish
[cli-stdout] finish
[cli-stdout] close
[cli] close 0
[cli-stderr] close
[cli-stdout] data 66
[cli] exit 0
Connecting to "/Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1" ...
[cli-stderr] data 393
[Info  - 6:29:44 PM] Connection to server got closed. Server will restart.
true
[cli-stderr] end
[cli-stdout] end
[cli-stderr] finish
[cli-stdout] finish
[cli-stdout] close
[cli] close 0
[cli-stderr] close
[cli-stdout] data 66
[cli] exit 0
Connecting to "/Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1" ...
[cli-stderr] data 393
[Info  - 6:29:45 PM] Connection to server got closed. Server will restart.
true
[cli-stderr] end
[cli-stdout] end
[cli-stderr] finish
[cli-stdout] finish
[cli-stdout] close
[cli] close 0
[cli-stderr] close
[cli-stdout] data 66
[cli] exit 0
Connecting to "/Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1" ...
[cli-stderr] data 393
[Info  - 6:29:46 PM] Connection to server got closed. Server will restart.
true
[cli-stderr] end
[cli-stdout] end
[cli-stderr] finish
[cli-stdout] finish
[cli-stdout] close
[cli] close 0
[cli-stderr] close
[cli-stdout] data 66
[cli] exit 0
Connecting to "/Users/me/Library/Caches/dev.biomejs.biome/biome-socket-1.9.1" ...
[cli-stderr] data 393
[Error - 6:29:47 PM] The Biome server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[cli-stderr] end
[cli-stdout] end
[cli-stderr] finish
[cli-stdout] finish
[cli-stdout] close
[cli] close 0
[cli-stderr] close

Expected result

Working as normal, as always.

Code of Conduct

jasperdegens commented 1 month ago

Getting the same error.

2024-09-20 16:50:34.631 [info] [Error - 4:50:34 PM] Biome language server closed
2024-09-20 16:54:11.803 [info] Biome encountered an unexpected error

This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:

Source Location: crates\biome_service\src\settings.rs:74:14
Thread Name: tokio-runtime-worker
Message: You must have at least one workspace.

2024-09-20 16:54:11.812 [info] [Error - 4:54:11 PM] Handling connection error failed
2024-09-20 16:54:11.812 [info] TypeError: Cannot read properties of undefined (reading 'toString')
    at Object.error (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:48582:28)
    at BiomeLanguageClient.handleConnectionError (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:47045:71)
    at errorHandler (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:46991:19)
    at c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:47374:37
    at CallbackList.invoke (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:30421:40)
    at Emitter.fire (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:30483:37)
    at writeErrorHandler (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:31532:23)
    at CallbackList.invoke (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:30421:40)
    at Emitter.fire (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:30483:37)
    at StreamMessageWriter.fireError (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:30975:28)
    at Socket.<anonymous> (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:31012:48)
    at Socket.emit (node:events:519:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-09-20 16:54:11.813 [info] [Error - 4:54:11 PM] Sending document notification textDocument/didOpen failed
2024-09-20 16:54:11.813 [info] Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:161:15)
    at writeGeneric (node:internal/stream_base_commons:152:3)
    at Socket._writeGeneric (node:net:954:11)
    at Socket._write (node:net:966:8)
    at writeOrBuffer (node:internal/streams/writable:570:12)
    at _write (node:internal/streams/writable:499:10)
    at Writable.write (node:internal/streams/writable:508:10)
    at c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:32597:29
    at new Promise (<anonymous>)
    at WritableStreamWrapper.write (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:32584:16)
    at StreamMessageWriter.doWrite (c:\Users\jasper\.vscode-insiders\extensions\biomejs.biome-2024.9.200949\out\index.js:31039:35)
2024-09-20 16:54:11.817 [info] [Error - 4:54:11 PM] Biome language server closed

Have tried several versions of Biome, all with same error. PC is:

dyc3 commented 1 month ago

@jasperdegens that looks like a separate issue.

github-actions[bot] commented 1 month ago

Hello @calvinusesyourcode, please provide a minimal reproduction. You can use one of the following options:

Issues marked with S-Needs repro will be closed if they have no activity within 3 days.