leoafarias / sidekick

A simple app to make Flutter development more delightful
BSD 3-Clause "New" or "Revised" License
1.57k stars 101 forks source link

Sidekick shows v3 "stable" is pinned to my project but it's running v2 #296

Closed sarahk closed 1 year ago

sarahk commented 1 year ago

I'm updating an old project and want it to run v3.

According to SideKick it should have

Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 796c8ef792 (13 days ago) • 2023-06-13 15:51:02 -0700
Engine • revision 45f6e00911
Tools • Dart 3.0.5 • DevTools 2.23.1

But Flutter Doctor says

[✓] Flutter (Channel stable, 2.2.3, on macOS 13.4.1 22F82 darwin-x64, locale en-AU)
    • Flutter version 2.2.3 at /Users/sarahking/Development/flutter
    • Framework revision f4abaa0735 (2 years ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

My path is

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/sarahking/Development/flutter/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin

My pubspec.yaml has fvm: ^2.4.1

What do I need to do to have fvm correctly assign the right version of Flutter?

aguilaair commented 1 year ago

This looks more like an FVM issue to me, could you open an issue there instead? cc: @leoafarias

leoafarias commented 1 year ago

@sarahk that might have happened if for some reason the upgrade command ran inside the cached version. Next FVM version will clean up if that's the case.

But please open any fvm related issues there! Thank you

aguilaair commented 1 year ago

Closing as it is FVM related :D