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

Error: The getter 'EventStreamProviders' isn't defined for the class 'WebSocket'. #316

Closed
betimer opened this issue Jan 5, 2024 · 3 comments

Comments

@betimer
Copy link

betimer commented Jan 5, 2024

Version: 2.4.2

If downgrade to version 2.4.0, it is working well.

The getter 'EventStreamProviders' isn't defined for the class 'WebSocket'.
 - 'WebSocket' is from 'package:web/src/dom/websockets.dart' ('/C:/Users/betim/AppData/Local/Pub/Cache/hosted/pub.dev/web-0.3.0/lib/src/dom/websockets.dart').
 - ```
@paddymahadeva
Copy link

we are facing the same issue, but we are not using web_socket directly. So no option to even downgrade as well

Error: The getter 'EventStreamProviders' isn't defined for the class 'WebSocket'.

@mogol
Copy link

mogol commented Jan 5, 2024

@paddymahadeva you can add this to your pubspec.yaml

dependency_overrides: 
  web_socket_channel: 2.4.0

@devoncarew
Copy link
Member

Thanks for the report! De-duping this with #318.

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

4 participants