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

graphql-flutter not working in flutter web #683

Closed
minhnhatvdl opened this issue Jul 2, 2020 · 4 comments
Closed

graphql-flutter not working in flutter web #683

minhnhatvdl opened this issue Jul 2, 2020 · 4 comments

Comments

@minhnhatvdl
Copy link

minhnhatvdl commented Jul 2, 2020

Describe the bug
I am using graphql-flutter v3.0.1 for a project of flutter web. Last week, it worked very well. Now, it no longer works.
Capture d’écran 2020-07-02 à 20 51 24

I am using flutter in channel beta with version 1.12.13+hotfix.6

@MostafaHassan
Copy link

I got the same error in beta, dev and master.
Note: I only got the error on web server.
So to reproduce, run flutter build web

@ductranit
Copy link

ductranit commented Jul 6, 2020

I had the same issue. Notice for more details: it looks like there is a problem with dependency connectivity 0.4.9 which uses connectivity_for_web 0.3.0 because I got 404 error for connectivity_for_web.dart
I temporary use graphql_flutter: 3.1.0-beta.4 & it works

@GP4cK
Copy link

GP4cK commented Jul 21, 2020

Here is the root cause: flutter/flutter#60855.
You can also add this to your pubspec.yml:

dependency_overrides:
  connectivity_for_web: ^0.3.1

@micimize
Copy link
Collaborator

micimize commented Nov 6, 2020

Closed by #754

@micimize micimize closed this as completed Nov 6, 2020
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