I can’t compile my dependencies anymore. I get this error:
sergiotapia at PapaMIA-A000039 in ~/Work/backend on develop
$ mix
==> faker
could not compile dependency :faker, “mix compile” failed. You can recompile this dependency with “mix deps.compile faker”, update it with “mix deps.update faker” or clean it with “mix deps.clean faker”
** (File.Error) could not make directory (with -p) “/opt/cache/_build/dev/lib/faker”: no such file or directory
(elixir) lib/file.ex:314: File.mkdir_p!/1
I tried to delete folders:
rm -rf deps/
rm -rf _build/
mix deps.get
runs fine, then mix
just fails with the error above.
Do I need to manually create the folder in /opt
/ called cache
? Why did this work before and why did it break suddenly? Appreciate any ideas.