Comments (7)
Thanks for the report. I get that error as well on Arch Linux. Seems like it is probably an issue with the packaging of the extension.
from elixir-ls.
Exactly the same is on Windows 10 with VSCode 1.40.0.
Elixir 1.9.2
OTP 20.2
Hex 0.20.1
Unfortunately I haven't any output.
from elixir-ls.
Same error on my MacBook Pro
- Elixir 1.9.3
- OTP 21
- asdf 0.7.5
from elixir-ls.
Okay, it looks like the problem is that the language server was compiled with OTP 22, which means that prior OTP versions are unable to load the .beam
files. So as a work-around if you upgrade your project to erlang 22 everything should work. If you're using asdf and want to update to the latest versions of elixir and erlang that can be accomplished with:
asdf install elixir 1.9.4-otp-22
asdf install erlang 22.1.7
asdf local elixir 1.9.4-otp-22
asdf local erlang 22.1.7
Although any version of erlang 22.x
should work.
I am working on publishing an update to the extension in the marketplace but since someone else published the extension originally I am still working on getting access (getting the correct microsoft account has been a bit of a pain)
from elixir-ls.
Ah okay, thanks. Yes, it work's fine on my Ubuntu 18.04 Laptop with Elixir 1.9.4 and OTP 22.1.6.
On the Windows PC I have to wait for a new version of Elixir.
from elixir-ls.
Okay, I just published v0.2.27 that should fix this issue (although I just realized I forgot to mention it in the changelog when I published the extension)
from elixir-ls.
Marking as closed but let us know if you are still running into this issue on version 0.2.27 (https://marketplace.visualstudio.com/items?itemName=elixir-lsp.elixir-ls) with an erlang version of 20 or higher.
from elixir-ls.
Related Issues (20)
- Debug adapter does not support no mixfile projects
- The server stops working as soon as "&" you type. OTP26 HOT 2
- Elixir LS immediately crashes with `badmatch` error HOT 3
- Definition provider on definition should return a range containing the cursor
- Crash in 0.18.0 with elixir 1.14.0-otp-24 HOT 1
- `mix elixir_ls.release` error `function Mix.Dep.load_on_environment/1 is undefined or private` HOT 3
- Undefined function error when installing elixirLS HOT 2
- Support envFile to load .env file in project root HOT 3
- Elixir-LS is installed every time but does nothing HOT 1
- Probably whitespace in the path is triggering an error HOT 7
- Autocomplete/goto definition does not work for code aliases defined inside a macro HOT 3
- Go to definition does not work with backticks
- Unusually high CPU use from beam HOT 6
- Full module name fuzzy search HOT 2
- Signature help does not use elixir_sense metadata
- Server start fails in Neovim on Linux with "CaseClausError" in launch.exs HOT 2
- elixir-ls 0.20.0 regression build failure against erlang 26.2.3 HOT 2
- elixir-ls 0.20.0 Crashes occasionally HOT 9
- ElixirLS bootstrapping trying to download a version that don't exists HOT 1
- ElixirLS 0.19+ fails to compile projects with YamlElixir (and possible other) applications working at compile-time HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixir-ls.