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

Duplicated Erlang binaries resulting in :badfile error #49

Open
wulymammoth opened this issue Feb 3, 2021 · 0 comments
Open

Duplicated Erlang binaries resulting in :badfile error #49

wulymammoth opened this issue Feb 3, 2021 · 0 comments

Comments

@wulymammoth
Copy link

wulymammoth commented Feb 3, 2021

I'm unsure why, but whenever I use this particular plugin with Elixir, I always end up with several issues:

  1. it continues to create a .elixir_ls directory in my project even though"elixirLS.dialyzerEnabled": false is set in my coc-settings. According to the README this is only needed for Dialyzer
  2. when I start my Phoenix application or start the tests, I sometimes encounter duplicated binaries as if multiple versions of the project had been built and suffixed, which obviously confuses the runtime -- take notice to the 2 suffix right before the .beam file extension
13:32:55.608 [error] Loading of ~/foo/_build/dev/lib/thinger_majigger/ebin/Elixir.Foo.LiveHelpers 2.beam failed: :badfile

I currently just $ rm -rf _build/dev and rebuild from scratch which kinda sucks since the project must be rebuilt again

If anyone has encountered a way to address/fix this, I'd love to know. Thanks

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