Skip to content

Alex hangs on localization generation if no required Flutter installed #49

@greymag

Description

@greymag

Run alex code gen:

Start code generation...
Generating code for pubspec.yaml
Getting dependencies...
Use FVM v3.1.4 

and nothing happens.

With --verbose:

[verbose] Checking for updates...
[verbose] Skipping, recent check already performed
Start code generation...
[verbose] Current directory: /Users/vabiel/Projects/plugins1/packages/feature/in_sync
[verbose] Search for pubspec with build_runner dependency
[verbose] + Found /Users/vabiel/Projects/plugins1/packages/feature/in_sync/pubspec.yaml
[verbose] Checking /Users/vabiel/Projects/plugins1/packages/feature/in_sync/pubspec.yaml
[verbose] Found build_runner
[verbose] Found 1 pubspec files
Generating code for pubspec.yaml
[verbose] Current directory: /Users/vabiel/Projects/plugins1/packages/feature/in_sync
Getting dependencies...
[verbose] Checking FVM
Use FVM v3.1.4
[verbose] Run: fvm flutter -v pub get
Flutter SDK: SDK Version : 3.19.6 is not installed.

? Would you like to install it now? (y/n) › yes 

So the problem is that the request to install Flutter is not being handled properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions