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

FVM Configuration File Not Found in Monorepos #2992

Open
dam-ease opened this issue Feb 25, 2025 · 0 comments
Open

FVM Configuration File Not Found in Monorepos #2992

dam-ease opened this issue Feb 25, 2025 · 0 comments

Comments

@dam-ease
Copy link
Contributor

Users trying to use Flutter Version Manager (FVM) in a monorepo setup often encounter the error:

FVM configuration file not found.

This occurs when they set working_directory and flutter: fvm under environment in their codemagic.yaml.

Suggested Solution:

  • Set the working_directory path correctly.
  • Remove flutter: fvm from environment.
  • Manually configure and use FVM in the scripts section instead.
brew tap leoafarias/fvm
brew install fvm
fvm install 3.19.0
fvm use 3.19.0
Image

This can be documented in the Common Issues section or added to the Setting the Flutter Version section - https://docs.codemagic.io/yaml-quick-start/building-a-flutter-app/#setting-the-flutter-version.

Also, an additional comment that this would only work with the YAML configuration should be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant