josefrichter
(Mix) Could not compile dependency :telemetry
Hi. I am trying to update older project to latest elixir, phoenix and all dependencies.
I am still running into (Mix) Could not compile dependency :telemetry
I’ve googled solutions, tried reinstalling rebar, etc. But still can’t figure it out. I have to say I’m a bit out of my depth here.
This is the full error:
❯ mix compile
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `(/Users/josefrichter/.asdf/installs/elixir/1.14.3-otp-25/.mix/elixir/1-14/rebar3 bare compile --paths /Users/josefrichter/Dropbox (Personal)/code/elixir/organizer/_build/dev/lib/*/ebin'
** (Mix) Could not compile dependency :telemetry, "/Users/josefrichter/.asdf/installs/elixir/1.14.3-otp-25/.mix/elixir/1-14/rebar3 bare compile --paths /Users/josefrichter/Dropbox (Personal)/code/elixir/organizer/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile telemetry", update it with "mix deps.update telemetry" or clean it with "mix deps.clean telemetry"
Any suggestions, please? Thank you.
Marked As Solved
LostKobrakai
I’d suggest trying a path without spaces and/or parenthesis.
Also Liked
BradS2S
Yeah maybe try escaping the white space in the path
LostKobrakai
Usually one is not in control of the places those paths are handled in. Therefore I still suggest avoiding such paths for development to begin with.
josefrichter
That actually worked ![]()
Thank you!
BradS2S
I’ve had this exact same issue in the past. It would be nice if the error said something like “destination not found” or something maybe







