necromorph23
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
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 2- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
dimitarvp
I had problems with Kaffe just a few months ago on Erlang 27. Are you using that? Have you tried with 26?
necromorph23
My Elixir OTP version is 26 in my windows machine.