necromorph23

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

Showing Posts 1 to 2

dimitarvp

dimitarvp

I had problems with Kaffe just a few months ago on Erlang 27. Are you using that? Have you tried with 26?

necromorph23

necromorph23 OP

My Elixir OTP version is 26 in my windows machine.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
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
nseaSeb
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
RemyXRenard
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
velrest
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
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
samoloth
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
FlyingNoodle
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 Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews