Open numa08 opened 10 months ago
I'm facing this issue as well! How do we solve it? I'd try the manual method you said and report back
Thank you for your comment.
I also tried cloning manually. The command I used is as follows.
cd $HOME/fvm/versions
git clone git@github.com:flutter/flutter.git -b 3.16.4 --filter=tree:0 ./3.16.4
# and go your project directory that is managed by fvm
fvm use
facing same issue
I am facing same issue with -filter=tree command as well
Maybe this was a hick up on git? if not can you do the same command on version 3.0 beta 5?
github is also slow ... can be an issue. !!!
but i am trying to clone using
git clone git@github.com:flutter/flutter.git -b 3.16.5 --filter=tree:0 ./3.16.5
but it doesn't consider it as a clean setup and delete the folder and its content @leoafarias
I got it working with this --filter=tree command
Be aware of any command that does partial clones, as flutter tooling is tightly dependent on the clone itself and can cause weird issue due to release channel detection and feature flags
I had same problem.
[64] % fvm doctor
No FVM config found:
/Users/yao
Fvm will run the version in your PATH env: /Users/yao/fvm/versions/stable/bin/flutter
Configured env paths:
___________________________________________________
Flutter:
/Users/yao/fvm/versions/stable/bin/flutter
Dart:
/opt/homebrew/bin/dart
FVM_HOME:
not set
i'm facing the same issue, my internet connection is good everything is downloading with the speed of 5mb/s on browser but when i run 'fvm install' then speed is 50, 100, 200, 400 kb/s and then it suddenly stops, please solve this issue.
When you have an issue like this, can you run the clone command through git? This seems to be a git issue, as fvm
is running the clone command behind the scenes. Also, I suggest using version 3.0.0 beta, as it does some optimizations behind the scenes.
I was able to install it by changing my git settings.
$ git config --global http.postBuffer 52428800
$ git config --global core.compression 0
@leoafarias I am facing issue on latest fvm version as well. How to utilize the Git mirroring for faster cloning?
It should already be enabled. Can you try to clone outside of fvm to see if it's an issue with fvm itself?
Anyone with a working solution for this problem ?
@BrianRigii can you run outside of FVM to see if there is a difference in speed?
still the same issue
Sorry, guys. I'm not sure what to do here. The information is not clear on whether it was a Git hiccup or if it's happening internally...
Before creating a bug report please make check the following
pub cache repair
. Close the terminal and try again.administrator
or withdeveloper
permissions.fvm doctor
if possible and add the output to the issue.fvm doctor
Describe the bug
When using the fvm install command to clone Flutter, I am experiencing significantly slow download speeds for the source code. Here is a copy from the terminal, indicating speeds around 80 ~ 200 KiB/s.
To troubleshoot the issue, I attempted the following:
The result was similar to the first test, with cloning speeds of about 10 MiB/s.
Like the second test, it confirmed sufficient speeds.
It seems the issue might be within FVM's internal implementation or the command-line options being executed. I am unsure of how to resolve this but would appreciate guidance on further steps for a detailed investigation.
To Reproduce Steps to reproduce the behavior:
fvm use stable
...Expected behavior A clear and concise description of what you expected to happen.
I expect the cloning process to complete at speeds comparable to the standard git command, typically in the range of several tens of MiB/s.
Logs Please provide the verbose logs by running
--verbose
after the command.fvm install --verbose
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
I considered the possibility of using the --filter=tree:0 option in the clone command to only clone necessary information.