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

appsync depends on build_runner >=0.1.1 <=0.9.1 which requires SDK version >=1.9.1 <2.0.0 #6

Open
karan-appgambit opened this issue Nov 6, 2019 · 7 comments

Comments

@karan-appgambit
Copy link

The current Dart SDK version is 2.6.0-dev.1.0.flutter-d6c6d12ebf.

Because appsync depends on build_runner >=0.1.1 <=0.9.1 which requires SDK version >=1.9.1 <2.0.0-∞, version solving failed.

@athagar
Copy link

athagar commented Aug 18, 2020

Same issue here

@athagar
Copy link

athagar commented Aug 18, 2020

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

@rakeshshahu
Copy link

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

hi athagar, i am stuck with the issue, can. you please elaborate more on how you managed to solve?

@athagar
Copy link

athagar commented Aug 31, 2020

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

hi athagar, i am stuck with the issue, can. you please elaborate more on how you managed to solve?

I started a totally new Flutter project. I deleted the basic main.dart and copied in the 5 files from the example app: constants.dart, main.dart, message.dart, message.g.dart and message_service.dart. The error went away in the new project.

@rakeshshahu
Copy link

I just started a fresh basic Flutter project and copied in the pubspec.yaml and the 5 dart files. It worked.

hi athagar, i am stuck with the issue, can. you please elaborate more on how you managed to solve?

I started a totally new Flutter project. I deleted the basic main.dart and copied in the 5 files from the example app: constants.dart, main.dart, message.dart, message.g.dart and message_service.dart. The error went away in the new project.

Weird, did same, but still stuck with same issue

@Subburaj55
Copy link

Facing following error:

The current Dart SDK version is 2.9.0-21.10.beta.

Because flutter_app depends on build_runner >=1.10.2 which requires SDK version >=2.10.0-0.0 <3.0.0, version solving failed.
pub upgrade failed (1; Because flutter_app depends on build_runner >=1.10.2 which requires SDK version >=2.10.0-0.0 <3.0.0, version solving failed.)

@MrFarhan
Copy link

MrFarhan commented Nov 6, 2022

+1

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

5 participants