I am trying to install kaffe in my project. But i keep on getting this error when i do mix deps.compile
Generated nimble_options app
===> Analyzing applications...
===> Compiling brod
===> Compiling src/brod_group_member.erl failed
include/brod.hrl:{21,14}: can't find include lib "kafka_protocol/include/kpro_public.hrl"; Make sure kafka_protocol is in your app file's 'applications' list
include/brod_int.hrl:{21,14}: can't find include lib "kafka_protocol/include/kpro.hrl"; Make sure kafka_protocol is in your app file's 'applications' list
==> vortex_pub_sub
** (Mix) Could not compile dependency :brod, "/home/monarch/.mix/elixir/1-14/rebar3 bare compile --paths /home/monarch/proj/vortex-pub-sub/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile brod", update it with "mix deps.update brod" or clean it with "mix deps.clean brod"
This is my mix.exs file
defmodule VortexPubSub.MixProject do
use Mix.Project
def project do
[
app: :vortex_pub_sub,
version: "0.1.0",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {VortexPubSub, []},
extra_applications: [:logger, :ecto, :kaffe]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:plug_cowboy, "~> 2.7"},
{:phoenix_pubsub, "~> 2.1"},
{:phoenix_live_view, "~> 0.20.17"},
{:ecto_sql, "~> 3.11"},
{:ecto_enum, "~> 1.4"},
{:jason, "~> 1.4"},
{:elixir_uuid, "~> 1.2"},
{:finch, "~> 0.18.0"},
{:postgrex, "~> 0.18.0"},
{:credo, "~> 1.7"},
{:timex, "~> 3.7"},
{:kafka_ex, "~> 0.13.0"},
{:mongodb_driver, "~> 1.4"},
{:guardian, "~> 2.3"},
{:httpoison, "~> 2.2"},
{:joken, "~> 2.6"},
{:kaffe, "~> 1.26"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/_support"]
defp elixirc_paths(_), do: ["lib"]
defp aliases do
[
"ecto.setup": ["ecto.create", "ecto.migrate"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"]
]
end
end
I have downgraded kaffe version and deleted deps and _build again and compiled the entire project but i still keep on getting same issue