I am not sure where to put this error, elixir, phoenix fragment or nodejs.
I am trying to build my first release build with elxir and phoenix. During release build, I see the following error. I'm just not sure if this is a version / dependency issue or something related to nodejs, as the only information I could find related to eacces was related to nodejs. Is there something that I am missing in my configuration?
Here is the error stack:
Building release with MIX_ENV=prod. ** (CaseClauseError) no case clause matching: :eacces lib/exrm/utils/utils.ex:110: ReleaseManager.Utils.relx/5 lib/mix/tasks/release.ex:341: anonymous fn/4 in Mix.Tasks.Release.do_release/1 lib/ex_unit/capture_io.ex:146: ExUnit.CaptureIO.do_capture_io/2 lib/ex_unit/capture_io.ex:119: ExUnit.CaptureIO.do_capture_io/3 lib/mix/tasks/release.ex:340: Mix.Tasks.Release.do_release/1 lib/mix/tasks/release.ex:78: Mix.Tasks.Release.do_run/1 (mix) lib/mix/task.ex:296: Mix.Task.run_task/3 (mix) lib/mix/cli.ex:58: Mix.CLI.run_task/2
My environment is as follows:
$ elixir -v Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace] Elixir 1.3.4 $ npm --version 3.10.8
I am running several version problems after adding exrm, which I solved by adding the following to my dependencies:
{:exrm, git: "git://github.com/bitwalker/exrm.git"}, {:relx, github: "erlware/relx", override: true}, {:erlware_commons, github: "erlware/erlware_commons", override: true}, {:cf, "~> 0.2.1", override: true}
Three hours later ...
I created a new phoenix project using mix and was able to reproduce the problem. As soon as I added exrm, I got the same error. Then I go to the distillery to see the same mistake. I created a problem at the distillery, hoping to find a solution there. Problem 142 at the distillery
EDIT:
Additional information on this subject from the report of the distillery:
$ uname -a Darwin Andreas-MBP. 16.1.0 The core of Darwin Version 16.1.0: Thu October 13 21:26:57 PDT 2016; root: xnu-3789.21.3 ~ 60 / RELEASE_X86_64 x86_64
I have at least four levels deep in the development tree, which is wholly owned by my account, in my home folder.