Before creating a bug report please make check the following
Describe the bug
Cannot use melos to execute fvm command concurrently.
To Reproduce
Steps to reproduce the behavior:
- Go to terminal, cd to a mono repo with multiple packages (e.g. melos repo)
- Run
melos exec -- exec fvm flutter
- Check output
- See error
[app]:
[app]: Could not install 2.0.6
[app]:
[app]: #0 ensureCacheWorkflow (package:fvm/src/workflows/ensure_cache.workflow.dart:61:5)
[app]: <asynchronous suspension>
[app]: #1 FlutterCommand.run (package:fvm/src/commands/flutter_command.dart:30:28)
[app]: <asynchronous suspension>
[app]: #2 CommandRunner.runCommand (package:args/command_runner.dart:196:13)
[app]: <asynchronous suspension>
[app]: #3 FvmCommandRunner.run (package:fvm/src/runner.dart:73:24)
[app]: <asynchronous suspension>
[app]: #4 main (file:///Users/mao/.pub-cache/hosted/pub.dartlang.org/fvm-2.0.4/bin/main.dart:6:8)
[app]: <asynchronous suspension>
[app]:
[app]:
Expected behavior
No error occurs.
Logs
Please provide the verbose logs by running --verbose after the command.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- FVM Version [e.g. 22] 2.0.4
- If Windows: Which Powershell are you using?
Additional context
I have tried the same command with fvm 2.0.1 and there is no problem.
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
Cannot use melos to execute fvm command concurrently.
To Reproduce
Steps to reproduce the behavior:
melos exec -- exec fvm flutterExpected behavior
No error occurs.
Logs
Please provide the verbose logs by running
--verboseafter the command.Desktop (please complete the following information):
Additional context
I have tried the same command with fvm 2.0.1 and there is no problem.