File.cd problem

File.cd command bugs my app, if i run this command all is ok, i got :ok status, but after (if app run something modules) app is crashed. Why?

Example:

Interactive Elixir (1.7.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> File.cd(“priv”)
:ok
iex(2)> ** (RuntimeError) could not compile application: cryptoapi.

You must restart your server after changing the following config or lib files:

  • /mnt/c/Users/zzzzz/Desktop/nameapi/config/dev.exs
  • /mnt/c/Users/zzzzz/Desktop/nameapi/config/config.exs
  • /mnt/c/Users/zzzzz/Desktop/nameapi/mix.exs

Edit: I found answer :sweat_smile:

1 Like