nallwhy

nallwhy

When the .mix folder is created?

Elixir version: 1.8.1
ex_cldr version: 1.8.2

I’m using ex_cldr in my project. (https://github.com/kipcole9/cldr)
It has its own compile task Mix.Tasks.Compile.Cldr, and this task creates .compile.cldr file in manifest_path(by default build/(env)/.mix) folder.

But it fails because build/(env)/.mix folder is not exist.

Generated my_project app
** (File.Error) could not write to file "/Users/me/workspace/project/my_project/_build/dev/.mix/.compile.cldr": no such file or directory
    (elixir) lib/file.ex:1014: File.write!/3
    lib/mix/tasks/compile.cldr.ex:288: Mix.Tasks.Compile.Cldr.previous_locales/0
    lib/mix/tasks/compile.cldr.ex:61: Mix.Tasks.Compile.Cldr.run/1
    (mix) lib/mix/task.ex:331: Mix.Task.run_task/3
    (elixir) lib/file.ex:1506: File.cd!/2
    (mix) lib/mix/project_stack.ex:41: Mix.ProjectStack.on_recursing_root/1
    (mix) lib/mix/tasks/compile.all.ex:68: Mix.Tasks.Compile.All.run_compiler/2
    (mix) lib/mix/tasks/compile.all.ex:52: Mix.Tasks.Compile.All.do_compile/4

When the manifest path folder is created?

Marked As Solved

kip

kip

ex_cldr Core Team

@nallwhy opened an issue (thanks - I’m the author). Thats from a piece of legacy code of the old ex_cldr 1.x versions which had some architectural issues and an ugly cldr compiler which was replaced last year with the 2.x series that is a much better citizen.

I recommend migrating to ex_cldr version 2.x if you can. I think the only main reason you might not be able to would be if you also need ex_cldr_dates_times which is not yet on the 2.x release series. It will be soon now…

Where Next?

Popular in Questions Top

chokchit
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2733ms. You can configure how long re...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lists...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
nobody
How to bind a phoenix app to a specific ip address? could not find anything about that, nowhere, unfortunately, but for me this is quite...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

Other popular topics Top

sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36128 110
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New

We're in Beta

About us Mission Statement