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

tree-sitter-elm.wasm not found #1053

Closed
jweir opened this issue Sep 1, 2023 · 0 comments
Closed

tree-sitter-elm.wasm not found #1053

jweir opened this issue Sep 1, 2023 · 0 comments

Comments

@jweir
Copy link

jweir commented Sep 1, 2023

Starting vim with elm-language-server 2.7.1 I get the following error:

[coc.nvim] Request initialize failed with message: ENOENT: no such file or directory, open '../../../../../../opt/homebrew/lib/node_modules/@elm-tooling/
[coc.nvim] Server languageserver.elmLS failed to start: Error: Request initialize failed with message: ENOENT: no such file or directory, open '../../../
../../../opt/homebrew/lib/node_modules/@elm-tooling/elm-language-server/out/common/tree-sitter-elm.wasm'

Current Workaround

I adjusted the path to tree-sitter-elm to the below, but this probably isn't a great solution.

        const pathToWasm = (_b = initializationOptions.treeSitterElmWasmUri) !== null && _b !== void 0 ? _b : Path.relative(process.cwd(), Path.join(__dirname, '../../out/', "tree-sitter-elm.wasm"));

Your Environment

  • Version used: 2.7.1
  • Editor used: vim + coc
  • Environment name and version (e.g. node.js 5.4): node v18.16.1
  • Operating System and version: MacOS 13.4.1
@jweir jweir closed this as completed Sep 1, 2023
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