Failed to restore d:/phoenix/northwind/deps/idna/.rebar3/erlcinfo file. Discarding it

Hi all

When I try to run phoenix, I’ve got following error:

D:\phoenix\northwind>mix phoenix.server
===> Compiling idna
===> Failed to restore d:/phoenix/northwind/deps/idna/.rebar3/erlcinfo file. Discarding it.

^Y^Y** (File.CopyError) could not copy recursively from "d:/phoenix/northwind/deps/idna/ebin" to "d:/phoenix/northwind/_build/dev/lib/idna/ebin". d:/phoenix/northwind/deps/idna/ebin/idna.app: no such file or directory
    (elixir) lib/file.ex:592: File.cp_r!/3
    (mix) lib/mix/utils.ex:328: Mix.Utils.do_symlink_or_copy/3
    (mix) lib/mix/project.ex:405: Mix.Project.build_structure/2
    (elixir) lib/file.ex:1145: File.cd!/2
    (mix) lib/mix/tasks/deps.compile.ex:222: anonymous fn/3 in Mix.Tasks.Deps.Compile.build_structure/2
    (elixir) lib/enum.ex:651: Enum."-each/2-lists^foreach/1-0-"/2
    (elixir) lib/enum.ex:651: Enum.each/2
    (mix) lib/mix/tasks/deps.compile.ex:87: anonymous fn/4 in Mix.Tasks.Deps.Compile.compile/2

Thanks

Try to recompile idna.

AFAIR mix do deps.clean idna, deps.compile idna.

1 Like

First of all, thanks so much. What is idna?

Well, it is a dewpendency of your project, not mine :wink: mix app.tree should give you some hints from where it is comming, also you can look-up the package itself at https://hex.pm/packages/idna.

3 Likes

Thanks so much.