Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP Panicked with File Naming #23589

Open
anggoran opened this issue Apr 28, 2024 · 1 comment
Open

LSP Panicked with File Naming #23589

anggoran opened this issue Apr 28, 2024 · 1 comment
Labels
bug Something isn't working lsp related to the language server

Comments

@anggoran
Copy link

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.
@marvinhagemeister marvinhagemeister added bug Something isn't working lsp related to the language server labels Apr 29, 2024
@bartlomieju
Copy link
Member

CC @nathanwhit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lsp related to the language server
Projects
None yet
Development

No branches or pull requests

3 participants