首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >** (Mix)无法编译依赖项:epipe,

** (Mix)无法编译依赖项:epipe,
EN

Stack Overflow用户
提问于 2021-08-18 07:41:23
回答 1查看 79关注 0票数 0

我正在使用本教程https://hexdocs.pm/crawly/tutorial.html试用Crawly

我添加了所需的依赖项

代码语言:javascript
复制
 defp deps do
  [
    {:crawly, "~> 0.13.0"},
    {:floki, "~> 0.26.0"}
  ]
end

我运行mix deps.get并添加爬行器:

代码语言:javascript
复制
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

我运行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"

我已经尝试了输出推荐的解决方案,但都不起作用。

编辑:这是mix deps.compile的输出

编辑:我安装了kiex并切换到1.10版本。解决了所有人的问题

EN

回答 1

Stack Overflow用户

发布于 2021-08-19 07:18:25

我安装了kiex并切换到1.10版本。解决了所有人的问题

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68828319

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档