expert icon indicating copy to clipboard operation
expert copied to clipboard

xp_expert File.CopyError could not copy recursively

Open altjohndev opened this issue 1 month ago • 2 comments

Editor: Zed

Expert Version: 0.1.0-583ee15

Binary: LanguageServerBinary {
    path: "/home/my_user/.local/share/zed/extensions/work/elixir/expert-nightly/expert",
    arguments: [
        "--stdio",
    ]

Error:

10:58:03.128 [error] Task #PID<0.170.0> started from #PID<0.169.0> terminating
** (MatchError) no match of right hand side value: {:error, {:shutdown, {:failed_to_start_child, {XPExpert.Project.Node, "my_project"}, {:error, :normal, ~c"** (File.CopyError) could not copy recursively from \"/home/my_user/.local/share/Expert/0.1.0-583ee15/ex-1.19.2-erl-16.1.1/rsGBT8QsAnALU3wmjTBLMw/_build/dev\" to \"/home/my_user/.local/share/Expert/0.1.0-583ee15/ex-1.19.2-erl-16.1.1/rsGBT8QsAnALU3wmjTBLMw/_build/dev_ns\". /home/my_user/.local/share/Expert/0.1.0-583ee15/ex-1.19.2-erl-16.1.1/rsGBT8QsAnALU3wmjTBLMw/_build/dev: no such file or directory\n    (elixir 1.19.2) lib/file.ex:1215: File.cp_r!/3\n    /home/my_user/.local/share/.burrito/expert_erts-15.2.7_0.1.0-583ee15/lib/xp_expert-0.1.0-583ee15/priv/build_engine.exs:35: (file)\n"}}}}
    (xp_expert 0.1.0-583ee15) lib/expert/state.ex:59: anonymous fn/1 in XPExpert.State.initialize/2
    (elixir 1.17.3) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
Function: #Function<3.104070401/0 in XPExpert.State.initialize/2>
    Args: []

Project .tool-versions:

elixir 1.19.2-otp-28
erlang 28.1.1

altjohndev avatar Nov 17 '25 10:11 altjohndev