简体   繁体   English

**(混合)无法编译依赖项:epipe,

[英]** (Mix) Could not compile dependency :epipe,

I am trying out Crawly with this tutorial https://hexdocs.pm/crawly/tutorial.html我正在使用本教程试用 Crawly https://hexdocs.pm/crawly/tutorial.html

I add the needed dependencies我添加所需的依赖项

 defp deps do
  [
    {:crawly, "~> 0.13.0"},
    {:floki, "~> 0.26.0"}
  ]
end

I run mix deps.get and add the spider:我运行mix deps.get并添加蜘蛛:

defmodule Homebase do
  use Crawly.Spider

  @impl Crawly.Spider
  def base_url(), do: "https://www.homebase.co.uk"

  @impl Crawly.Spider
  def init() do
    [
      start_urls: [
        "https://www.homebase.co.uk/our-range/tools"
      ]
    ]
  end

  @impl Crawly.Spider
  def parse_item(_response) do
    %Crawly.ParsedItem{:items => [], :requests => []}
  end
end

I run iex -S mix and get the following error:我运行iex -S mix并收到以下错误:

** (Mix) Could not compile dependency:epipe, "/home/niki/.mix/rebar3 bare compile --paths /home/niki/projects/first-crawler/crawler2/spiderman/_build/dev/lib/*/ebin" command failed. You can recompile this dependency with "mix deps.compile epipe", update it with "mix deps.update epipe" or clean it with "mix deps.clean epipe"

I have tried the recommended solutuions by the output but nothing works.我已经尝试了 output 推荐的解决方案,但没有任何效果。

edit: this is the output of mix deps.compile :编辑:这是mix deps.compile 在此处输入图像描述

EDIT: I installed kiex and switched to version 1.10.编辑:我安装了kiex并切换到 1.10 版。 That fixed tha peoblem那个固定的人

I installed kiex and switched to version 1.10.我安装了 kiex 并切换到 1.10 版。 That fixed tha peoblem那个固定的人

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法编译依赖项:咸,“混合编译”失败 - could not compile dependency :salty, “mix compile” failed 使用Mix编译Phoenix应用程序的Ejabberd依赖项时出错:无法编译依赖项:ejabberd,“ mix compile”失败 - Error compiling Ejabberd dependency of a Phoenix application with Mix: could not compile dependency :ejabberd, “mix compile” failed 无法编译依赖项:jiffy - Could not compile dependency :jiffy 凤凰混 - 编译无法找到依赖的依赖 - Phoenix mix - compile can't find dependency of dependency Elixir - 无法编译依赖项idna - Elixir - Could not compile dependency idna 凤凰城:无法编译依赖关系:牧场 - Phoenix: Could not compile dependency :ranch VScode mix.exs 错误 - 无法使用“make”编译 - VScode mix.exs error - Could not compile with “make” mix.compile返回错误(Mix)无法编译“ src / gettext_po_parser.yrl”,因为找不到应用程序“ parsetools” - mix.compile returns error (Mix) Could not compile “src/gettext_po_parser.yrl” because the application “parsetools” could not be found 出现错误无法编译依赖项:mimerl - Getting error Could not compile dependency :mimerl 如何解决“ **(混合)”问题,当我运行“ mix test”时,找不到“ compile.all”任务 - How to fix “** (Mix) The task ”compile.all“ could not be found” when I run `mix test`
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM