Comments (7)
❤️ thank you!
from locus.
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.
Confirmed! Things look good on my end as well, thank you so much!
from locus.
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.
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.
Hopefully fixed under 26eb059 / 2.3.4
2.3.3 retired.
from locus.
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)
- Document compatibility with db-ip.com databases HOT 2
- Corrupted DB download when packet loss on network HOT 6
- Provide REBAR2 config for locus HOT 2
- HTTPS redirects may fail HOT 2
- Add tests covering HTTP redirection handling
- rebar3 warning in elixir projects HOT 3
- `rebar3 ct` fails; `make ci_test` doesn't HOT 3
- Update CA bundle (certifi) to latest version HOT 1
- Fix `tls_certificate_check` build errors on OTP 20.1+, when on top of macOS Big Sur HOT 1
- Replace Travis CI with GitHub actions
- Ability to pass a function as a database source HOT 4
- Run CI on Windows HOT 1
- Fix flaky CI HOT 1
- Recent tarballs fail to extract on OTP 19 or older HOT 1
- Builds on OTP 17 are broken HOT 2
- How to use the database provided by the OS? HOT 4
- Investigate log level mismatch between `error_logger` and `logger` HOT 1
- Unable to use latest MaxMind test data
- Changes to GeoLite2 license and distribution require changes to this project HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from locus.