Failed to load NIF library | ElixirLS

I’m pulling in a dependency GitHub - SweetIQ/expostal: Elixir binding for Libpostal - a library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data. which builds just fine under test/dev/prod. However, when ElixirLS builds this, it never generates the .elixir_ls/build/test/lib/expostal/priv/expostal.so. So I’m getting

[Error - 1:22:39 PM] Process #PID<0.1064.0> raised an exception
** (MatchError) no match of right hand side value: {:error, {:load_failed, 'Failed to load NIF library: \'dlopen(/<redacted>/.elixir_ls/build/test/lib/expostal/priv/expostal.so, 0x0002): tried: <etc...>

Any ideas?

Of course the fix was nuking the .elixir_ls folder and restarting. smh…