Skip to content

FVM Configuration File Not Found in Monorepos #2992

@dam-ease

Description

@dam-ease

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions