Skip to content
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

[Question] Running fvm flutter --version reports unknown channel #291

Closed
abhaysood opened this issue May 12, 2021 · 5 comments
Closed

[Question] Running fvm flutter --version reports unknown channel #291

abhaysood opened this issue May 12, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@abhaysood
Copy link

I have setup FVM using the instructions in the documentation. The contents of fvm_config.json file are:

{
  "flutterSdkVersion": "2.0.6",
  "flavors": {}
}

Running fvm flutter --version gives the following output:

➜ fvm flutter --version
Flutter 2.0.6 • channel unknown • unknown source
Framework • revision 1d9032c7e1 (12 days ago) • 2021-04-29 17:37:58 -0700
Engine • revision 05e680e202
Tools • Dart 2.12.3

Notice that the channel/source are reported as unknown. If I install 2.0.6 version without using fvm the output gives the channel and source correctly.

@abhaysood abhaysood added the bug Something isn't working label May 12, 2021
@leoafarias
Copy link
Owner

@abhaysood this question comes up every so often and I believe there has been change in behavior, which it does not impact.

but if you don’t kind me asking how are you is taking the standalone version 2.0.6?

@abhaysood
Copy link
Author

I simply ran fvm install 2.0.6:

~ fvm install 2.0.6
fvm global Flutter 2.0.6 • channel unknown • unknown source
Framework • revision 1d9032c7e1 (2 weeks ago) • 2021-04-29 17:37:58 -0700
Engine • revision 05e680e202
Tools • Dart 2.12.3

@leoafarias
Copy link
Owner

@abhaysood you mentioned that it’s different if you install 2.0.6 without fvm, how did you do that?

@abhaysood
Copy link
Author

flutter upgrade 2.0.6
Flutter is already up to date on channel stable
Flutter 2.0.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 1d9032c7e1 (2 weeks ago) • 2021-04-29 17:37:58 -0700
Engine • revision 05e680e202
Tools • Dart 2.12.3

@leoafarias
Copy link
Owner

Ok, that is why… you are upgrading the channel. Fvm pulls the tag version directly.

Also flutter versions can repeat across channels, so the information is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants