elixir-lsp / elixir-lsp/coc-elixir
Duplicated Erlang binaries resulting in `:badfile` error
- Dominant language
- JavaScript
- Stars
- 170
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
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
```sh
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.