Dart package fvm is failing to install any version Exception: Git clone failed #687
Replies: 2 comments 11 replies
-
i found another error fatal: 'origin' does not appear to be a git repository Please make sure you have the correct access rights ProcessException: Cloning into 'C:\Users\muham\fvm\versions\3.19.3'... |
Beta Was this translation helpful? Give feedback.
-
The way I found to fix this is to first use HTTP/1.1 and then increase the post buffer size. Use HTTPS/1.1 git config --global http.version HTTP/1.1 And then increase the buffer size using git config --global http.postBuffer 2038500000 However, the trick is to increase the buffer based on the bytes mentioned in the error message that says it cannot download. For example, the git error looks like this: Receiving objects: 5% (28560/532810), 19.44 MiB | 336.00 KiB/s
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 5319 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output Here, the line git config --global http.postBuffer {additionalbytes} |
Beta Was this translation helpful? Give feedback.
-
i need help if i run this commands "fvm install v1.2.1" its say error git clone faileed
Beta Was this translation helpful? Give feedback.
All reactions