Compilation 获取错误无法编译依赖项:mimerl

Compilation 获取错误无法编译依赖项:mimerl,compilation,dependencies,elixir,phoenix-framework,Compilation,Dependencies,Elixir,Phoenix Framework,我在服务器上收到此错误。一切正常,但重启服务器后,我开始面临上述问题 (Mix) Could not compile dependency :mimerl, "/home/ubuntu/.mix/rebar3 bare compile --paths "/var/www/qserv/elixirbackend/_build/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.comp

我在服务器上收到此错误。一切正常,但重启服务器后,我开始面临上述问题

(Mix) Could not compile dependency :mimerl, "/home/ubuntu/.mix/rebar3
bare compile --paths "/var/www/qserv/elixirbackend/_build/dev/lib/*/ebin"" 
command failed. You can recompile this dependency with "mix deps.compile mimerl", 
update it with "mix deps.update mimerl" or clean it with "mix deps.clean mimerl"

我按照
Elixir论坛用户提到的说明进行操作

Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 1.6.3 (compiled with OTP 19)
然后我还更改了git权限,我在运行mixphx.server时注意到了这一点

警告:无法访问“/home/ubuntu/.config/git/ignore”:权限被拒绝 警告:无法访问“/home/ubuntu/.config/git/attributes”:权限被拒绝

所以,基本上问题是我把权限搞砸了(我不记得/不知道怎么做)


归功于Norbert Melzerelixir论坛用户()

我按照
Elixir论坛用户提到的说明进行操作

Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 1.6.3 (compiled with OTP 19)
然后我还更改了git权限,我在运行mixphx.server时注意到了这一点

警告:无法访问“/home/ubuntu/.config/git/ignore”:权限被拒绝 警告:无法访问“/home/ubuntu/.config/git/attributes”:权限被拒绝

所以,基本上问题是我把权限搞砸了(我不记得/不知道怎么做)


归功于Norbert Melzerelixir论坛用户()

我也在elixirforum上发布了一个问题,若这很好用,你们改变了什么?重新启动服务器不应导致出现此问题。我只是在
iex模式下运行服务器进行调试,然后运行mix deploy,这将
mix deps.get
并运行服务器将您的
mix.exs
添加到您的问题中。没有其他细节,任何人都无法提出任何建议。您也可以尝试使用
--force
标志或
--return errors
标志的
mix compile.erlang
。我还在elixirforum上发布了一个问题,如果这一切正常,您做了哪些更改?重新启动服务器不应导致出现此问题。我只是在
iex模式下运行服务器进行调试,然后运行mix deploy,这将
mix deps.get
并运行服务器将您的
mix.exs
添加到您的问题中。如果没有其他详细信息,任何人都不能提出任何建议。您还可以尝试使用
--force
标志或
--return errors
标志的
mix compile.erlang