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

http package missing in pubspec.yaml #21

Closed
hendrx opened this issue Nov 16, 2018 · 5 comments
Closed

http package missing in pubspec.yaml #21

hendrx opened this issue Nov 16, 2018 · 5 comments

Comments

@hendrx
Copy link

hendrx commented Nov 16, 2018

flutter run fails with:

Your application could not be compiled, because its dependencies could not be established.
The following Dart file:
/Users/arnehendricks/work/flutter_kram/Flutter-UI-Kit/lib/services/restclient.dart
...refers, in an import, to the following library:
package:http/http.dart
That library is in a package that is not known. Maybe you forgot to mention it in your pubspec.yaml file?

@hendrx
Copy link
Author

hendrx commented Nov 16, 2018

i added http package to pubspec.yaml, will make a PR

@hendrx
Copy link
Author

hendrx commented Nov 16, 2018

PR: #22

@ghost
Copy link

ghost commented Jan 6, 2019

How to use the http package:

@Brixto
Copy link

Brixto commented Feb 26, 2019

@iampawan this issue is kinda old now, and some PRs have been raised to address this. Will one of them be merged soon?

@iampawan
Copy link
Owner

Merged and Fixed. Sorry for the delay.

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

Successfully merging a pull request may close this issue.

3 participants