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

[DOCS] Quiver should be in dependencies but not dev_dependencies #37

Open
greyovo opened this issue Jun 5, 2022 · 0 comments
Open

[DOCS] Quiver should be in dependencies but not dev_dependencies #37

greyovo opened this issue Jun 5, 2022 · 0 comments

Comments

@greyovo
Copy link

greyovo commented Jun 5, 2022

I added quiver to dev_dependencies in pubspec.yaml, according to README, and run

flutter pub run json_to_model

it outputs:

Unhandled exception:
Quiver is needed to generate models (To support `null` in copyWith and mocks). Please run `flutter pub add quiver`

#0      PubspecParser.parse (package:json_to_model/config/pubspec_parser.dart:26:7)
<asynchronous suspension>
#1      main (file:///F:/SDK/flutter_windows_2.10.5-stable/flutter/.pub-cache/hosted/pub.dev/json_to_model-3.1.8/bin/json_to_model.dart:7
:26)
<asynchronous suspension>
pub finished with exit code 255

but in dependencies section it works.

Flutter SDK version: 2.10.5 stable, Android Studio 2021.1.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

1 participant