Comments (4)
Damn, yea, terrible user experience. It is because you don't have github https support for private repos setup in your .netrc
.
Will leave this ticket open until we have it provide a useful error message.
from rebar3.
Once I fixed my .netrc:
$ rebar3 compile
===> Fetching erequest_id
===> Fetching midjan
===> Fetching dinerl
(tchevalier@tchevalier-ltm)
[Wed Jan 07~13:24:12] ~/heroku/hundur $ DEBUG=1 rebar3 compile
[snip]
===> Fetching dinerl
===> sh info:
cwd: "/Users/tchevalier/heroku/hundur"
cmd: git clone https://github.com/SemanticSugar/dinerl.git .tmp_dir393704963216 -b v1.0.1 --single-branch
===> opts: [{cd,"/tmp"}]
===> Port Cmd: "git clone https://github.com/SemanticSugar/dinerl.git .tmp_dir393704963216 -b v1.0.1 --single-branch"
Port Opts: [{cd,"/tmp"},
exit_status,
{line,16384},
use_stdio,stderr_to_stdout,hide]
===> sh(git clone https://github.com/SemanticSugar/dinerl.git .tmp_dir393704963216 -b v1.0.1 --single-branch)
failed with return code 128 and the following output:
Cloning into '.tmp_dir393704963216'...
fatal: did not receive expected object 68f43be15accbd4403af68315c9ac997ad8e46cf
fatal: index-pack failed
I'm pretty sure this is the same bug, since both issues involve git failing, but in different ways. Just thought I would document this other failure case too.
from rebar3.
Hi catamorphism,
could you try modify the git config file, add the line below to see if fix the issue.
compression = -1
Here is the same symptom, but another way to resolve: http://git.661346.n2.nabble.com/Large-pack-causes-git-clone-failures-what-to-do-td5481488.html
from rebar3.
Oh, we forgot to close this. @shijiang1130 it was a github issue. Thanks.
Closing this now even though I said I'd leave it open until I made error messages better, just to make it less confusing :)
from rebar3.
Related Issues (20)
- `rebar3 version` compiles dependencies before outputting value HOT 5
- cover aggregation bug HOT 6
- `REBAR_SRC_DIRS` not available in hook HOT 5
- code:lib_dir/2 is deprecated; this functionality will be removed in a future release HOT 4
- How to execute a Function just before aborting rebar3 shell? HOT 6
- Cannot deploy application because of "Uncaught error in rebar_core" HOT 1
- tests in separate test modules are performed twice by eunit command HOT 6
- error rebar_core HOT 2
- Request new `rebar3` release HOT 4
- rebar3 shell doesn't return prompt HOT 1
- ENV variable replacement with nested configs in releases HOT 3
- Fetching dependency by git ref fails when upgrading to Erlang 26 HOT 2
- `bootstrap --offline` uses https_proxy HOT 3
- rebar3 shell randomly fails on Windows in OTP 27 HOT 4
- Dialyzer formatting
- Uncaught error: {badrecord,not_found} / Hex get_package request failed enetunreach HOT 5
- Compatibility between Rebar3 and Erlang/OTP HOT 4
- While running dialyzer with rebar3οΌit consumes too much memory HOT 2
- Relx is ignored when using Rebar3 3.23.0
- ./bootstrap doesn't generate final rebar3-escript HOT 7
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 rebar3.