Not being able to compile telemetry dependency

I also faced similar issue on windows. I did not use installer. Downloaded zip file and extracted them for erlang, elixir and gleam.

I could not get phoenix sample app to work.

Was failing with.

**(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"

Fix: Change the following files to have correct path.

C:\Programs\erl.27_1_2\bin>type erl.ini
[erlang]
Bindir=C:\\Programs\\erl.27_1_2\\erts-15.1.2\\bin
Progname=erl
Rootdir=C:\\Programs\\erl.27_1_2

C:\Programs\erl.27_1_2\erts-15.1.2\bin>type erl.ini
[erlang]
Bindir=C:\\Programs\\erl.27_1_2\\erts-15.1.2\\bin
Progname=erl
Rootdir=C:\\Programs\\erl.27_1_2

Not sure whether installation with scoop also has similar issues.
Hope this is useful for somebody else.