-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to flutter <command>
#368
Comments
@btrautmann is this issue happening consistently? I saw another problem but seemed like it was google servers. |
@leoafarias yeah it's been happening since yesterday (well that's when we noticed it), and another coworker is experiencing the same after doing the above. We have a setup script that installs |
I saw another issue this morning when pulling google data but seems like it was a flutter backend hick up. Is the problem still happening for you? Fvm just proxies the commands so not sure if it's fvm related. |
Yeah, I've been testing this all morning. I just tried moments ago with the same failure. |
I figured I'd open this just in case something came to your mind, but if you're pretty confident it isn't |
I suggest removing the cached version in fvm and installing it again. Maybe during the install the error happened and something got corrupted. Will look out for it though. Thanks. |
I've tried completely getting rid of |
@btrautmann what I mentioned was the actual cached version of 2.5.3 cached by fvm and running again. I will be on the lookout if there are any issues. |
@leoafarias where would that be? |
If you installed stable |
🤔 Is this expected?
|
No idea what is going on here... this seems very weird, can I take a look at this setup script that you are running to install fvm |
I believe this is related to the issue you are seeing here #352 I am curious to see the |
This is the interesting bit ☝️ |
Oh ok.. so that makes sense the warning was correct. The global configured version was the one running the command that is why you had the command not found after. Not 100% sure what is happening here but looking through your initial error, it did say that there might be an issue with your connection, and I believe was probably more visible because of the precache. I think that during the initial install something went corrupt because of the connection. So when you were running the global you were having issues. |
After chatting with a teammate, we are thinking this is likely related to an internal issue with our certs, and I'm going to close this until we discover otherwise. |
@btrautmann how do you run the |
Ah, sorry, that's just an internal helper that appends the content to the correct rc (bashrc or zshrc) file if not already present. We've actually come to the conclusion that there's something going on with the flutter install itself, as installing via Github as detailed here fails for the same people. We've opened flutter/flutter#93739 as a result. |
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
Running
flutter <command>
e.gflutter pub get
fails with the following error:To Reproduce
fvm
2.2.4 via:flutter pub get
Expected behavior
flutter pub get
should complete normally.Logs
Desktop (please complete the following information):
Additional context
fvm
, I pulled down the latest stable flutter SDK and executedpub get
doing~/path/to/flutter/sdk/bin/flutter pub get
on the same project. This completed successfully.curl
the URL in the error output just fine:curl -I https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip
:The text was updated successfully, but these errors were encountered: