shorebirdtech / install

The Shorebird (un)installer 🐦
Other
22 stars 9 forks source link

fix: unexpected disconnect while reading sideband packet #34

Open rahmanrezaee opened 4 months ago

rahmanrezaee commented 4 months ago

Description

when we install shorebird its shows this error becuase github server with http cloning shows this error

error: RPC failed; curl 18 Transferred a partial file0 KiB/s  
error: 5295 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

so have to customize some files to ssh like change in install.sh file to this

echo "Cloning Shorebird into $(install_dir)"
git clone git@github.com:shorebirdtech/shorebird.git -b stable "$(install_dir)"

and in shorebird.ps file

function Update-Flutter {
...
git clone --filter=tree:0 git@github.com:shorebirdtech/flutter.git --no-checkout "$flutterPath" 
...
}

Requirements

eseidel commented 4 months ago

Thank you for the report!

I suspect we'll solve this by moving to a method other than git for distribution.

Kingsley-EZE commented 3 months ago

Thank you for the report!

I suspect we'll solve this by moving to a method other than git for distribution.

@eseidel Any update on the new method for distribution? Currently stuck on this issue :(

eseidel commented 3 months ago

I don't expect we'll have an alternative method of distribution anytime soon. I would recommend simply re-trying. My experience with this issue is that it seems to be just a bad error message for typically transient network issues.

Kingsley-EZE commented 3 months ago

I don't expect we'll have an alternative method of distribution anytime soon. I would recommend simply re-trying. My experience with this issue is that it seems to be just a bad error message for typically transient network issues.

You were actually right, it was because of network issues. I was install it with a better and stronger network. Thanks :)