-
Notifications
You must be signed in to change notification settings - Fork 11
fix: unexpected disconnect while reading sideband packet #34
Copy link
Copy link
Open
Description
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
- Add options for while installing you want clone as http or ssh
- Or check if has stable network then use http otherwise to ssh
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels