SunPoke04
Hello, I’ve just created a simple Phoenix app with mix phx.new, then tried to run mix phx.server.
But, everytime I run that, it can’t compile the “telemetry” dependency. Always with the same error
**(Mix) Could not compile dependency :telemetry, "escript rebar3 bare compile --paths _build/dev/lib/*/ebin" command failed. Errors may have been logged above.
You can recompile this dependency with "mix deps.compile telemetry --force" or clean it with "mix deps.clean telemetry"
However, if I manually run any of these commands, we go back to the same errors, also there is no errors above it, it only has the ===> Compiling telemetry message.
I’m on windows, but that shouldn’t be too much of a difference.
Versions:
Erlang/OTP 27
Elixir 1.17.3 (compiled with Erlang/OTP 25)
Trending in Questions
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hello,
I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind.
However, when I launch mix phx.server, I get an error...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m working on a small exercise involving update_in/3, and I came up with this solution:
data = %{
name: "Periodic Table",
category:...
New
I’ve got trouble wrapping my head around the order in which functions are called in this snippet (from Phoenix’s authentication):
toke...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
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
- #ai
- #ecto-query
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #metaprogramming
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
Hermanverschooten
First obvious question, is
rebar3available on your system?try
mix local.rebarand see if that wants to overwrite, if not install it.josevalim
Can you also please put the whole output since running
mix phx.server? Remove bothdepsand_buildfolders, and then domix deps.getandmix phx.server. Thank youSunPoke04
Yes! I’ve ran that multiple times and I have a separate rebar3 binary installed for gleam, tried it with both, same results
SunPoke04
I can’t upload images for some reason, but it’s just the
===> Compiling xmessages until it reaches telemetry, then it throws that error.Eiji
Here is a correct output of
mix deps.compileon newly generated project:If I understood you correctly this is what you have:
Is that correct?
SunPoke04
Sry for taking so much time, was working here.
Yes, it’s that, it compiles all the previous dependencies until telemetry.
Eiji
Oh, I never had such a case and now I’m interested. In normal case there should be something before, but if not then I guess there was something that
ErlangVM does not handle (?).If we talk about a bug in some app written in
Elixirthen I agree, but if there is a problem inErlanginstallation then it’s completely different topic since for example onLinuxthere are package managers and other tools, so it’s easy to ensure that all environment dependencies are met …Let’s think:
Windowsinstallations as there would be more posts/likes/etc about it …Elixir’s dependencies are compiling well it should beErlang-relatedErlangusing installer onErlang’s download page …If we assume all above then there could be 2 possible issues:
Erlanginstallation (not really sure), so reinstalling it may fix the problemtelemetrypackage does not compile at all on your version and possibly also previous versions (25.x). Try updatingElangto latest25.xi.e.25.3.2.15or install a newer version of it (27.1.1is the latest one) - that would explain 2nd point in previous listGenerally it’s hard to tell how to fix it since we have no idea about issue (no warnings or errors that could give us a hint). Therefore unless you would find something we can only ask to do routine activities like removing
_builddirectory or reinstall/updateErlanginstallation.If you can diagnose the problem we may help you more. For example if the process is killed because of
memory violationor stuff like that then we can go forward and detect if it’s a bug inErlangorElixir. So far we can’t tell you more unless there is someone who had the exact same issue …Since it looks like it’s related to
Erlangmaybe you would have more luck if you reach out help onErlangforum: Erlang Forums - Erlang Programming Language ForumsSunPoke04
I installed them both (Elixir and Erlang) through
Scoopand I know 80% Erlang isn’t (probably) broken bc I’ve been also using gleam for some time and it uses it.I’ll try to reinstall both of them + clean some caches to see if it fixes it, thx.
SunPoke04
Nope, same thing here, just reinstalled everything
Welp, I’ll try it out later in another computer, to see if the problem is local
dimitarvp
Did you also try in Docker? And what about that full output of
mix phx.serverthat was requested earlier?