deno
deno copied to clipboard
Starting Deno language server...Connected to "Visual Studio Code" 1.94.0...Deno has panicked.
Not sure of this is a panic from deno or the Visual Studio Code Deno extension.
Visual Studio Code 1.94.0 macOS 12.7.6
sw_vers
ProductName: macOS
ProductVersion: 12.7.6
BuildVersion: 21H1320
Using a vscode devcontainer from denoland/deno:ubuntu
Install the vscode extension Deno v3.41.1
Re-open the project in a container.
Starting Deno language server...
version: 2.0.0 (release, aarch64-unknown-linux-gnu)
executable: /usr/bin/deno
Connected to "Visual Studio Code" 1.94.0
Enabling import suggestions for: https://deno.land
Download https://deno.land/.well-known/deno-import-intellisense.json
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Added below to my settings.json
"deno.enable": true,
"deno.lint": true,
"deno.unstable": true,
"deno.lsp": {
"env": {
"RUST_BACKTRACE": "1"
}
}
I think that is the correct what to enable Rust's backtrace for LSP?
Starting Deno language server...
version: 2.0.0 (release, aarch64-unknown-linux-gnu)
executable: /usr/bin/deno
Connected to "Visual Studio Code" 1.94.0
Enabling import suggestions for: https://deno.land
Download https://deno.land/.well-known/deno-import-intellisense.json
[Error - 3:10:43 PM] Client Deno Language Server: connection to server is erroring. Shutting down server.
[Error - 3:10:43 PM] Connection to server got closed. Server will not be restarted.
[Error - 3:10:43 PM] Stopping server failed
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 3:10:43 PM] Stopping server failed
Message: Pending response rejected since connection got disposed
Code: -32097
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: linux aarch64
Version: 2.0.0
Args: ["/usr/bin/deno", "lsp"]
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_cache_dir-0.13.0/src/global/mod.rs:116:6:
called `Result::unwrap()` on an `Err` value: Custom { kind: PermissionDenied, error: "Permission denied (os error 13) (for '/deno-dir/registries/https/deno.land')\nCheck the permission of the directory." }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error retrieving config tasks: Error: Client is not running