Is it possible to recover a mix project after manually deleting .beam files?

23 views
Skip to first unread message

bengt e

unread,
Jul 5, 2015, 5:32:07 AM7/5/15
to elixir-l...@googlegroups.com
Greetings,

I am doing the "Getting Started". It worked after I added Pipe. While adding integration tests, I manually removed all .beam files under kv_umbrella/ (I thought I had a good reason). After that I can no longer build.

 mix compile
==> kv_server
Compiled lib/kv_server_supervisor.ex
Compiled lib/kv_server_command.ex

== Compilation error on file lib/kv_server.ex ==
** (CompileError) lib/kv_server.ex:28: module Pipe is not loaded and could not be found

I have kv_umbrella/deps/pipe/ but what else should I do?


bengt

José Valim

unread,
Jul 5, 2015, 6:00:41 AM7/5/15
to elixir-l...@googlegroups.com
Removing _build should be enough. If for some reason it still doesn't work and your project is still in an inconsistent state, try removing both _build and deps directories.



José Valim
Skype: jv.ptec
Founder and Director of R&D

--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/953b8538-f0a2-4005-9fcf-3369814af8e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bengt e

unread,
Jul 5, 2015, 8:50:40 AM7/5/15
to elixir-l...@googlegroups.com, jose....@plataformatec.com.br
Thank you. Removing _build/* worked.


bengt
Reply all
Reply to author
Forward
0 new messages