"The CLDR provider module Cldr.XYZ.Backend was not found"

Running the "install now script" from the web home page leads to a project with this error. In particular, I executed:
mix archive.install hex igniter_new --force
mix archive.install hex phx_new 1.8.0-rc.3 --force

mix igniter.new veasyt --with phx.new --with-args "--database sqlite3" \
--install ash,ash_phoenix --install ash_sqlite,ash_authentication \
--install ash_authentication_phoenix,ash_admin \
--install ash_oban,oban_web --install live_debugger,ash_money \
--auth-strategy password --yes

cd veasyt && mix ash.setup
mix archive.install hex igniter_new --force
mix archive.install hex phx_new 1.8.0-rc.3 --force

mix igniter.new veasyt --with phx.new --with-args "--database sqlite3" \
--install ash,ash_phoenix --install ash_sqlite,ash_authentication \
--install ash_authentication_phoenix,ash_admin \
--install ash_oban,oban_web --install live_debugger,ash_money \
--auth-strategy password --yes

cd veasyt && mix ash.setup
And after my first install, each time I run tests or run the dev server, I read:
07:05:30.809 [warning] Veasyt.Cldr: No Cldr provider modules were configured. Attempting to configure known Cldr providers.
07:05:30.923 [warning] Veasyt.Cldr: The CLDR provider module Cldr.DateTime.Backend was not found
07:05:30.923 [warning] Veasyt.Cldr: The CLDR provider module Cldr.List.Backend was not found
07:05:30.923 [warning] Veasyt.Cldr: The CLDR provider module Cldr.Unit.Backend was not found
07:05:30.924 [warning] Veasyt.Cldr: The CLDR provider module Cldr.Territory.Backend was not found
07:05:30.924 [warning] Veasyt.Cldr: The CLDR provider module Cldr.Calendar.Backend was not found
07:05:30.924 [warning] Veasyt.Cldr: The CLDR provider module Cldr.PersonName.Backend was not found
07:05:30.809 [warning] Veasyt.Cldr: No Cldr provider modules were configured. Attempting to configure known Cldr providers.
07:05:30.923 [warning] Veasyt.Cldr: The CLDR provider module Cldr.DateTime.Backend was not found
07:05:30.923 [warning] Veasyt.Cldr: The CLDR provider module Cldr.List.Backend was not found
07:05:30.923 [warning] Veasyt.Cldr: The CLDR provider module Cldr.Unit.Backend was not found
07:05:30.924 [warning] Veasyt.Cldr: The CLDR provider module Cldr.Territory.Backend was not found
07:05:30.924 [warning] Veasyt.Cldr: The CLDR provider module Cldr.Calendar.Backend was not found
07:05:30.924 [warning] Veasyt.Cldr: The CLDR provider module Cldr.PersonName.Backend was not found
Maybe this has nothing to do with Ash, or maybe it does - all I'm guessing is that adding ash_money leads to this.
Solution:
Alright, done!
GitHub
ash-project/ash_money
The extension for working with money types in Ash. - ash-project/ash_money
Jump to solution
5 Replies
ZachDaniel
ZachDaniel4mo ago
Hmmmm...yeah it's very likely ash_money But I've not seen this issue before What happens if you do mix clean and compile again?
venir.dev
venir.devOP4mo ago
Sorry about the delay. So, I've tried running a new project again. Straight from the home page, with this command:
mix archive.install hex igniter_new --force
mix archive.install hex phx_new 1.8.0-rc.3 --force

mix igniter.new let_go --with phx.new --install ash,ash_phoenix \
--install ash_json_api,ash_postgres \
--install ash_authentication,ash_authentication_phoenix \
--install ash_admin,ash_oban --install oban_web,live_debugger \
--install ash_ai,ash_money --auth-strategy password \
--auth-strategy magic_link --yes

cd let_go && mix ash.setup
mix archive.install hex igniter_new --force
mix archive.install hex phx_new 1.8.0-rc.3 --force

mix igniter.new let_go --with phx.new --install ash,ash_phoenix \
--install ash_json_api,ash_postgres \
--install ash_authentication,ash_authentication_phoenix \
--install ash_admin,ash_oban --install oban_web,live_debugger \
--install ash_ai,ash_money --auth-strategy password \
--auth-strategy magic_link --yes

cd let_go && mix ash.setup
As you know this installs and setups the project. Yes, ash_money is one of the dependencies. Then, I've tried a quick mix test, just to test it out, and I still obtain the warnings:
# tons of compiling logs, redacted for brevity

Generating LetGo.Cldr for 2 locales named [:en, :und] with a default locale named :en

18:55:34.287 [warning] LetGo.Cldr: No Cldr provider modules were configured. Attempting to configure known Cldr providers.

18:55:34.345 [warning] LetGo.Cldr: The CLDR provider module Cldr.DateTime.Backend was not found

18:55:34.345 [warning] LetGo.Cldr: The CLDR provider module Cldr.List.Backend was not found

18:55:34.345 [warning] LetGo.Cldr: The CLDR provider module Cldr.Unit.Backend was not found

18:55:34.346 [warning] LetGo.Cldr: The CLDR provider module Cldr.Territory.Backend was not found

18:55:34.348 [warning] LetGo.Cldr: The CLDR provider module Cldr.Calendar.Backend was not found

18:55:34.356 [warning] LetGo.Cldr: The CLDR provider module Cldr.PersonName.Backend was not found
Generated let_go app
Getting extensions in current project...
Running setup for AshPostgres.DataLayer...
Running ExUnit with seed: 271144, max_cases: 28

.....
Finished in 0.01 seconds (0.01s async, 0.00s sync)
5 tests, 0 failures
# tons of compiling logs, redacted for brevity

Generating LetGo.Cldr for 2 locales named [:en, :und] with a default locale named :en

18:55:34.287 [warning] LetGo.Cldr: No Cldr provider modules were configured. Attempting to configure known Cldr providers.

18:55:34.345 [warning] LetGo.Cldr: The CLDR provider module Cldr.DateTime.Backend was not found

18:55:34.345 [warning] LetGo.Cldr: The CLDR provider module Cldr.List.Backend was not found

18:55:34.345 [warning] LetGo.Cldr: The CLDR provider module Cldr.Unit.Backend was not found

18:55:34.346 [warning] LetGo.Cldr: The CLDR provider module Cldr.Territory.Backend was not found

18:55:34.348 [warning] LetGo.Cldr: The CLDR provider module Cldr.Calendar.Backend was not found

18:55:34.356 [warning] LetGo.Cldr: The CLDR provider module Cldr.PersonName.Backend was not found
Generated let_go app
Getting extensions in current project...
Running setup for AshPostgres.DataLayer...
Running ExUnit with seed: 271144, max_cases: 28

.....
Finished in 0.01 seconds (0.01s async, 0.00s sync)
5 tests, 0 failures
So, a "first install" following ash-hq.org copy-paste installer leads to the above on my machine. I'm not sure if I'm supposed to install or configure something else on my end. But if that was the case, I'd expect some warnings like Ash usually does (AFAIK). Ok, finally, I've tried mix clean && mix test. That leads to:
> mix clean && mix test

Compiling 29 files (.ex)
Generating LetGo.Cldr for 2 locales named [:en, :und] with a default locale named :en

18:57:44.932 [warning] LetGo.Cldr: No Cldr provider modules were configured. Attempting to configure known Cldr providers.

18:57:45.085 [warning] LetGo.Cldr: The CLDR provider module Cldr.Calendar.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.DateTime.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.List.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.PersonName.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.Territory.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.Unit.Backend was not found
Generated let_go app
Getting extensions in current project...
Running setup for AshPostgres.DataLayer...
Running ExUnit with seed: 785244, max_cases: 28

.....
Finished in 0.04 seconds (0.01s async, 0.03s sync)
5 tests, 0 failures
> mix clean && mix test

Compiling 29 files (.ex)
Generating LetGo.Cldr for 2 locales named [:en, :und] with a default locale named :en

18:57:44.932 [warning] LetGo.Cldr: No Cldr provider modules were configured. Attempting to configure known Cldr providers.

18:57:45.085 [warning] LetGo.Cldr: The CLDR provider module Cldr.Calendar.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.DateTime.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.List.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.PersonName.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.Territory.Backend was not found

18:57:45.086 [warning] LetGo.Cldr: The CLDR provider module Cldr.Unit.Backend was not found
Generated let_go app
Getting extensions in current project...
Running setup for AshPostgres.DataLayer...
Running ExUnit with seed: 785244, max_cases: 28

.....
Finished in 0.04 seconds (0.01s async, 0.03s sync)
5 tests, 0 failures
I've even tried mix clean && mix deps.get && mix test: I obtain the same output (excluding mix deps.get's output)
ZachDaniel
ZachDaniel4mo ago
Strange. Please open an issue on ash_money
venir.dev
venir.devOP4mo ago
copy
Solution
venir.dev
venir.dev4mo ago
Alright, done!
GitHub
ash-project/ash_money
The extension for working with money types in Ash. - ash-project/ash_money

Did you find this page helpful?