Before creating a bug report please make check the following
Describe the bug
We've got our project setup with Melos i.c.w. dart workspaces. The default setting for updateMelosSettings is true but when we run fvm use 3.38.5 in our root (workspace) folder the melos version is not updating and keeps showing sdkPath: .fvm/versions/3.38.3. And would it also be possible to have the sdk and flutter auto update under the environment?
workspace, pubspec.yaml:
name: beans_workspace
publish_to: none
workspace:
- ...
environment:
sdk: ^3.10.0 # <-- this would be nice too
flutter: ^3.38.0 # <-- this would be nice too
dependencies:
...
dev_dependencies:
...
dependency_overrides:
...
melos:
sdkPath: .fvm/versions/3.38.3 # <-- this
scripts:
...
To Reproduce
Steps to reproduce the behavior:
- Checkout this repo: https://github.com/Beans-BV/melos_issue
- Go to terminal..
- Run
fvm use 3.38.5...
- Check if the flutter version under
/pubspec.yaml -> melos -> sdkPath is updated
Expected behavior
To update the sdkPath to the correct symlink folder.
Desktop (please complete the following information):
- OS: MacOS
- FVM Version 4.0.5
Additional context
flutter doctor -v
[✓] Flutter (Channel stable, 3.38.5, on macOS 26.1 25B78 darwin-arm64, locale en-GB) [391ms]
• Flutter version 3.38.5 on channel stable at /Users/jopmiddelkamp/fvm/versions/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f6ff1529fd (3 weeks ago), 2025-12-11 11:50:07 -0500
• Engine revision 1527ae0ec5
• Dart version 3.10.4
• DevTools version 2.51.1
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-native-assets, enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [1,311ms]
• Android SDK at /Users/jopmiddelkamp/Library/Android/sdk
• Emulator version 36.3.10.0 (build_id 14472402) (CL:N/A)
• Platform android-36.1, build-tools 36.1.0
• Java binary at: /Users/jopmiddelkamp/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.2) [6.4s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C52
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [8ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (4 available) [6.3s]
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 16 (API 36) (emulator)
• iPhone SE (3rd generation) (mobile) • 21B10044-C4D0-4B32-9F29-CC68CED43183 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 26.1 25B78 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome
[✓] Network resources [521ms]
• All expected network resources are available.
Before creating a bug report please make check the following
pub cache repair. Close the terminal and try again.administratoror withdeveloperpermissions.fvm doctorif possible and add the output to the issue.Describe the bug
We've got our project setup with Melos i.c.w. dart workspaces. The default setting for
updateMelosSettingsistruebut when we runfvm use 3.38.5in our root (workspace) folder the melos version is not updating and keeps showingsdkPath: .fvm/versions/3.38.3. And would it also be possible to have thesdkandflutterauto update under theenvironment?workspace, pubspec.yaml:
To Reproduce
Steps to reproduce the behavior:
fvm use 3.38.5.../pubspec.yaml-> melos -> sdkPath is updatedExpected behavior
To update the sdkPath to the correct symlink folder.
Desktop (please complete the following information):
Additional context