This repository was archived by the owner on Aug 30, 2025. It is now read-only.
Conversation
aab091b to
0d7ffca
Compare
de7d16a to
81fe1b0
Compare
I tried erlang 26.0.2, and lo and behold, it worked with lexical. There were a few unit test failures due to completion results being ordered differently, but otherwise, lexical works great under 26. Fixes #244
Collaborator
|
Today, when I was trying version 26, I found that:
We may need to make a note of this in the documentation. And this is the error: ~/Code/dummy master ?7 ❯ /Users/scottming/Code/lexical/_build/dev/package/lexical/bin/start_lexical.sh
11:08:40.826 [error] beam/beam_load.c(190): Error loading module 'Elixir.LoggerFileBackend':
This BEAM file was compiled for a later version of the runtime system than the current (Erlang/OTP 25).
To fix this, please re-compile this module with an Erlang/OTP 25 compiler.
(Use of opcode 182; this emulator supports only up to 180.)
11:08:40.826 [error] Loading of /Users/scottming/Code/lexical/_build/dev/package/lexical/bin/../lib/logger_file_backend.ez/logger_file_backend/ebin/Elixir.LoggerFileBackend.beam failed: :badfile
11:08:40.842 [error] Loading of /Users/scottming/Code/lexical/_build/dev/package/lexical/bin/../lib/lx_sourceror.ez/lx_sourceror/ebin/Elixir.LXSourceror.beam failed: :badfile
11:08:40.842 [error] beam/beam_load.c(190): Error loading module 'Elixir.LXSourceror':
This BEAM file was compiled for a later version of the runtime system than the current (Erlang/OTP 25).
To fix this, please re-compile this module with an Erlang/OTP 25 compiler.
(Use of opcode 182; this emulator supports only up to 180.)
** (ArgumentError) could not load module LXSourceror due to reason :badfile
(elixir 1.15.4) lib/code.ex:1779: Code.ensure_loaded!/1
(elixir 1.15.4) lib/enum.ex:984: Enum."-each/2-lists^foreach/1-0-"/2
lib/lexical/server/boot.ex:17: LXical.Server.Boot.start/0
nofile:1: (file)
(stdlib 4.3.1.2) erl_eval.erl:748: :erl_eval.do_apply/7
``` |
scottming
approved these changes
Aug 12, 2023
Collaborator
Author
|
I believe that the documentation makes this clear in the detailed installation instructions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tried erlang 26.0.2, and lo and behold, it worked with lexical. There were a few unit test failures due to completion results being ordered differently, but otherwise, lexical works great under 26.
Fixes #244