Closed s3vus closed 5 years ago
Apparently this is an issue for elixir-ls in vscode. jjcarlsen helped me:
Then I shutdown vscode.
then I did this:
rm -Rf .elixir-ls/ _build/ deps/
mix deps.get
mix deps.compile
mix mix firmware
All was right in the world. However, the nerves community recommends you build the C binaries in the _build
directory as that is what is adding to the issue.
I have this same bug when I compile for different devices, I am not sure why deps doesn't recompile well, I have same issue with sqlite_ecto2
lib when change my MIX_TARGET
.
You need remove the deps and recompile again
Here i added the dependency on the library....
I had a similar error on an existing project where I was trying to rebuild using your release instead of jjcarsten's fork. I got this:
let me know if you have any questions. one of the core nerves guys told me this on slack FWIW: