deno icon indicating copy to clipboard operation
deno copied to clipboard

LSP Panicked with File Naming

Open anggoran opened this issue 1 year ago • 1 comments

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.

anggoran avatar Apr 28 '24 11:04 anggoran

CC @nathanwhit

bartlomieju avatar Apr 29 '24 08:04 bartlomieju

Hello @anggoran, Could you please provide the steps to reproduce the issue? Thanks!

MujahedSafaa avatar Jul 07 '24 09:07 MujahedSafaa