deno
deno copied to clipboard
LSP Panicked with File Naming
Version: Deno 1.42.4
The issue occurred randomly when I create a new route, and it's gone after I renamed the file.
Starting Deno language server...
version: 1.42.4 (release, aarch64-apple-darwin)
executable: /opt/homebrew/bin/deno
Connected to "Visual Studio Code" 1.88.1
Refreshing configuration tree...
Resolved Deno configuration file: "file:///Users/anggoran/Development/user%20innovations/xiaobingqilin/deno.json"
Resolved import map from configuration file
Enabling import suggestions for: https://deno.land
============================================================
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: macos aarch64
Version: 1.42.4
Args: ["/opt/homebrew/bin/deno", "lsp"]
thread 'main' panicked at /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/swc_ecma_parser-0.143.5/src/lexer/state.rs:471:45:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 5:19:45 PM] The Deno Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
CC @nathanwhit
Hello @anggoran, Could you please provide the steps to reproduce the issue? Thanks!