Git Product home page Git Product logo

Comments (7)

sneako avatar sneako commented on June 12, 2024 1

❤️ thank you!

from locus.

sneako avatar sneako commented on June 12, 2024 1

It looks like elixir uses file:script/2 to run the rebar script, so any modules that aren't included in otp will not be available.

from locus.

sneako avatar sneako commented on June 12, 2024 1

Confirmed! Things look good on my end as well, thank you so much!

from locus.

g-andrade avatar g-andrade commented on June 12, 2024

That's fair! I didn't account for the warning being so common - in hindsight, it was clear it would be.

Fixed on 10f0231 and released as 2.3.3

from locus.

sneako avatar sneako commented on June 12, 2024

Testing out 2.3.3 (in an Elixir project) and now the hank warning has been replaced with this error:

Error evaluating Rebar config script ./rebar.config.script:58: evaluation failed with reason error:undef and stacktrace [{rebar_api,debug,[[68,105,115,97,98,108,105,110,103,32,96,109,97,121,98,101,95,101,120,112,114,96,32,102,111,114,32,96,107,97,116,97,110,97,95,99,111,100,101,96,32,97,115,32,105,116,32,109,97,121,32,110,111,116,32,98,101,32,97,118,97,105,108,97,98,108,101],[]],[]},{erl_eval,do_apply,7,[{file,[101,114,108,95,101,118,97,108,46,101,114,108]},{line,744}]},{erl_eval,exprs,6,[{file,[101,114,108,95,101,118,97,108,46,101,114,108]},{line,136}]},{erl_eval,try_clauses,10,[{file,[101,114,108,95,101,118,97,108,46,101,114,108]},{line,993}]},{file,eval_stream2,6,[{file,[102,105,108,101,46,101,114,108]},{line,1504}]},{file,script,2,[{file,[102,105,108,101,46,101,114,108]},{line,1142}]},{'Elixir.File','cd!',2,[{file,[108,105,98,47,102,105,108,101,46,101,120]},{line,1560}]},{'Elixir.Mix.Rebar',eval_script,2,[{file,[108,105,98,47,109,105,120,47,114,101,98,97,114,46,101,120]},{line,186}]}]
Any dependencies defined in the script won't be available unless you add them to your Mix project

I guess rebar_api is not available when running Rebar3 through Mix? Not sure how Mix could use rebar3 without also including rebar_api since it is just a module in the rebar3 library. Looking in to that a bit more, but figured I would let you know in the mean time.

from locus.

g-andrade avatar g-andrade commented on June 12, 2024

Hopefully fixed under 26eb059 / 2.3.4

2.3.3 retired.

from locus.

g-andrade avatar g-andrade commented on June 12, 2024

I tested with a new Mix project, it appears to be OK now - let me know if this isn't the case

from locus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.