[英]** (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.