最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Flutter Upgrade Fails: ProcessException: Process exited abnormally with exit code 128 - Stack Overflow

programmeradmin3浏览0评论

I'm trying to upgrade my Flutter SDK to version 3.27.3, but I keep encountering this error when running flutter upgrade:

ProcessException: Process exited abnormally with exit code 128: error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly: CANCEL (err 8) error: 5026 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output Command: git fetch --tags

I've tried upgrading to other versions as well, but the issue persists. Here’s what I have already attempted:

  • Running git gc --prune=now and git fsck
  • Manually clearing the Flutter cache (flutter cache clean)
  • Checking my internet connection (it's stable)
  • Running flutter upgrade --force
  • Trying git fetch --unshallow inside the Flutter directory

However, none of these solutions have worked so far.

Has anyone else faced this issue? How can I resolve this error and successfully upgrade Flutter?

发布评论

评论列表(0)

  1. 暂无评论