Skip to content

[BUG]: Please update Flutter and dependencies #786

Open

Description

@YazadDumasia

Is there an existing issue for this?

  • I have searched the existing issues

Version

5.15.0

Command type

build_runner (Default)

What happened?

Please update flutter version to latest and dependencies

Relevant a pubspec.yaml.

#dependency_overrides:

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^6.0.0
  #  dart pub global activate flutter_gen
  #  flutter pub global activate flutter_gen
  #  dart pub global activate build_runner
  #  flutter pub global activate build_runner
  #  flutter packages pub run build_runner build
  #  flutter pub run build_runner build
  #  flutter packages pub run build_runner build --delete-conflicting-outputs
  drift_dev: ^2.35.1
  # build_runner: ^2.16.1
  build_runner: ^2.17.1
  flutter_gen: ^5.15.0
  flutter_gen_runner: ^5.15.0

flutter_gen:
  output: lib/packages/shared/gen/


flutter:
  uses-material-design: true
  generate: true

  assets:
    - assets/
    - assets/data/
    - assets/locale/
    - assets/images/
    - assets/images/flags/
    - assets/icons/
    - assets/font/
    - assets/lottie/

  fonts:
    - family: BwAletaNo10
      fonts:
        - asset: assets/font/BwAletaNo10/BwAletaNo10_ExtraLight.ttf
          weight: 200
        - asset: assets/font/BwAletaNo10/BwAletaNo10_Light.ttf
          weight: 300
        - asset: assets/font/BwAletaNo10/BwAletaNo10_Regular.ttf
          weight: 400
        - asset: assets/font/BwAletaNo10/BwAletaNo10_Medium.ttf
          #          weight: 500
          #        - asset: assets/font/BwAletaNo10/BwAletaNo10_SemiBold.ttf
          weight: 600
        - asset: assets/font/BwAletaNo10/BwAletaNo10_Bold.ttf
          weight: 700
        - asset: assets/font/BwAletaNo10/BwAletaNo10_ExtraBold.ttf
          weight: 800
    - family: CustomIcon
      fonts:
        - asset: assets/icons/CustomIcon.ttf
    - family: InventoryIcon
      fonts:
        - asset: assets/icons/InventoryIcon.ttf
    - family: MenuIcons
      fonts:
        - asset: assets/icons/MenuIcons.ttf
    - family: Menu_search
      fonts:
        - asset: assets/icons/Menu_search.ttf
    - family: EmplyeeIcons
      fonts:
        - asset: assets/icons/EmplyeeIcons.ttf
    - family:  Reservation
      fonts:
        - asset: assets/icons/Reservation.ttf

Relevant log output

Resolving dependencies...
Because no versions of flutter_gen_runner match >5.15.0 <6.0.0 and flutter_gen_runner 5.15.0 depends on build ^4.0.0, flutter_gen_runner ^5.15.0 requires build ^4.0.0.
And because build_runner >=2.17.1 depends on build >=5.0.0 <5.1.0, flutter_gen_runner ^5.15.0 is incompatible with build_runner >=2.17.1.
So, because coozy_the_cafe depends on both build_runner ^2.17.1 and flutter_gen_runner ^5.15.0, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on build_runner: flutter pub add dev:build_runner:^2.16.2
Failed to update packages.
exit code 1

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. danilz-276 commented on Nov 9, 2026

    @danilz-276

    .

  2. Carapacik commented on Nov 21, 2026

    @Carapacik
    Contributor

    @AlexV525 @wasabeef Please publish current main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions