Giter Club home page Giter Club logo

Comments (7)

axelson avatar axelson commented on June 15, 2024

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.

WernerBuchert avatar WernerBuchert commented on June 15, 2024

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.

dokie avatar dokie commented on June 15, 2024

Same error on my MacBook Pro

  • Elixir 1.9.3
  • OTP 21
  • asdf 0.7.5

from elixir-ls.

axelson avatar axelson commented on June 15, 2024

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.

WernerBuchert avatar WernerBuchert commented on June 15, 2024

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.

axelson avatar axelson commented on June 15, 2024

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.

axelson avatar axelson commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.