Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mix/rebar3 error #38

Closed
tank-bohr opened this issue Jan 27, 2019 · 0 comments
Closed

mix/rebar3 error #38

tank-bohr opened this issue Jan 27, 2019 · 0 comments

Comments

@tank-bohr
Copy link
Owner

tank-bohr commented Jan 27, 2019

What I've done

  • mix deps.update bookish_spork

Actual result

Upgraded:
  bookish_spork 0.3.0 => 0.3.1
* Updating bookish_spork (Hex package)
Error evaluating Rebar config script ./rebar.config.script:30: evaluation failed with reason error:{badmatch,{error,enoent}} and stacktrace [{erl_eval,expr,5,[{file,[101,114,108,95,101,118,97,108,46,101,114,108]},{line,453}]},{erl_eval,exprs,5,[{file,[101,114,108,95,101,118,97,108,46,101,114,108]},{line,126}]},{file,eval_stream2,6,[{file,[102,105,108,101,46,101,114,108]},{line,1393}]},{file,script,2,[{file,[102,105,108,101,46,101,114,108]},{line,1090}]},{'Elixir.File','cd!',2,[{file,[108,105,98,47,102,105,108,101,46,101,120]},{line,1443}]},{'Elixir.Mix.Rebar',eval_script,2,[{file,[108,105,98,47,109,105,120,47,114,101,98,97,114,46,101,120]},{line,195}]},{'Elixir.File','cd!',2,[{file,[108,105,98,47,102,105,108,101,46,101,120]},{line,1443}]}]
Any dependencies defined in the script won't be available unless you add them to your Mix project

with rebar3

===> Error evaluating configuration script at "/bookish_spork/examples/chuck/_build/test/lib/bookish_spork/rebar.config.script":
{error,{30,file,
        {error,{badmatch,{error,enoent}},
               [{erl_eval,expr,5,[{file,"erl_eval.erl"},{line,453}]},
                {erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,126}]},
                {file,eval_stream2,6,[{file,"file.erl"},{line,1393}]},
                {file,script,2,[{file,"file.erl"},{line,1090}]},
                {rebar_config,consult_and_eval,2,
                              [{file,"/opt/rebar3-3.7.5/src/rebar_config.erl"},
                               {line,287}]},
                {rebar_config,consult_file_,1,
                              [{file,"/opt/rebar3-3.7.5/src/rebar_config.erl"},
                               {line,230}]},
                {rebar_config,consult_file,1,
                              [{file,"/opt/rebar3-3.7.5/src/rebar_config.erl"},
                               {line,212}]}]}}}

===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump

Expected result

  • No error

Environment

Erlang/OTP 21 [erts-10.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]

IEx 1.7.4 (compiled with Erlang/OTP 21)
Rebar3 report
 version 3.7.5
 generated at 2019-01-27T09:25:26+00:00
=================
Please submit this along with your issue at https://github.com/erlang/rebar3/issues (and feel free to edit out private information, if any)
-----------------
Task:
Entered as:

-----------------
Operating System: x86_64-apple-darwin17.7.0
ERTS: Erlang/OTP 21 [erts-10.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Root Directory: /Users/xoma/kerl/21.2
Library directory: /Users/xoma/kerl/21.2/lib
-----------------
Loaded Applications:
bbmustache: 1.6.0
certifi: 2.3.1
cf: 0.2.2
common_test: 1.16.1
compiler: 7.3
crypto: 4.4
cth_readable: 1.4.2
dialyzer: 3.3.1
edoc: 0.9.4
erlware_commons: 1.3.0
eunit: 2.3.7
eunit_formatters: 0.5.0
getopt: 1.0.1
hex_core: 0.2.0
hipe: 3.18.2
inets: 7.0.3
kernel: 6.2
providers: 1.7.0
public_key: 1.6.4
relx: 3.27.0
sasl: 3.3
snmp: 5.2.12
ssl_verify_fun: 1.1.3
stdlib: 3.7
syntax_tools: 2.1.6
tools: 3.0.2

-----------------
Escript path: /bin/rebar3
Providers:
  app_discovery as auto clean compile compile config cover ct cut deps dialyzer do docs edoc escriptize eunit get-deps help info install install_deps key list lock new owner path pkgs publish release relup report repos search shell state tar tree unlock update upgrade upgrade upgrade user version xref
@tank-bohr tank-bohr changed the title mix error mix/rebar3 error Jan 27, 2019
tank-bohr pushed a commit that referenced this issue Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant