Skip to content

Duplicated Erlang binaries resulting in :badfile error #49

Description

@wulymammoth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions