Closed calvinusesyourcode closed 4 weeks 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:
@jasperdegens that looks like a separate issue.
Hello @calvinusesyourcode, please provide a minimal reproduction. You can use one of the following options:
npm create @biomejs/biome-reproduction
Issues marked with S-Needs repro
will be closed if they have no activity within 3 days.
What happened?
Environment information
./biome rage
biome log
vscode output
Expected result
Working as normal, as always.
Code of Conduct