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

Error at startup Unhandled Rejection #1130

Closed
TheOddler opened this issue Dec 14, 2023 · 1 comment
Closed

Error at startup Unhandled Rejection #1130

TheOddler opened this issue Dec 14, 2023 · 1 comment

Comments

@TheOddler
Copy link

Expected Behavior

The Elm LS works and shows hints.

Current Behavior

The plugin fails to load with this error:

[Error - 12:24:22 PM] Unhandled Rejection at: Promise [object Promise] reason:, TypeError: Failed to parse URL from /nix/store/bq83f9aqgxs4lf9fll3g3sz5hv2m2p31-vscode-extension-Elmtooling-elm-ls-vscode-2.6.0/share/vscode/extensions/Elmtooling.elm-ls-vscode/server/node_modules/web-tree-sitter/tree-sitter.wasm

I checked, and the tree-sitter.wasm file does exist.

Possible Solution

Steps to Reproduce (for bugs)

  1. Start VS Code
  2. Look in the Output console at the output for Elm
  3. Error, and no LS diagnostics are shown in the editor.

This started after updating to NixOS 23.11, I'll check later if downgrading fixes stuff again, as that might give me some hints where it went wrong (maybe later vscode version?)

Context

Your Environment

  • Version used: v2.6.0 (that is the Elmtooling vscode plugin, I never had to install the elm language server manually)
  • Editor used: VSCode 1.84.2
  • Environment name and version (e.g. node.js 5.4): node v18.14.0
  • Operating System and version: NixOs 23.11
@TheOddler
Copy link
Author

Sorry, created a duplicate, didn't realise I was in a different repo and was very confused why my issue was gone. Since this seems to be related to VSCode, I'll close this one and leave the other one open: elm-tooling/elm-language-client-vscode#718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant