Open rnp0728 opened 10 months ago
Same here
Palliative solution: dependency_overrides: web_socket_channel: 2.4.0
Palliative solution: dependency_overrides: web_socket_channel: 2.4.0
316
Good!
Hi - these most recent issues were likely caused by the release of 2.4.2
, which adjusted the dep on package:web
in ways that weren't compatible. We're retracted that release - people who have it pinned explicitly will still see it, but it won't be visible to new version solves.
Also, it looks porting this package to use package:web
was (unintentionally) a breaking API change - some of the API types exposed from the package are different. We'll track work to address that in a separate issue, but we may revert the 2.4.x range of this package back to using dart:html, and publishing a new 3.0.0 version of this package that's based on package:web.
pkg:web
0.4.0 or higher, and Flutter has 0.3.0 pinned. Flutter still won't be able to use 2.4.3.This is the same situation for other packages that Flutter pins however. You need to use dependencies that are compatible with the versions that Flutter was built with. For package:web, that's:
web
to 0.3.0
web
to 0.4.0
(editor update: see below - we've reverted the
2.4.2
publish of this package).While running flutter build web the following error comes up, until yesterday the builds are working properly. The new update on web_socket_channel:2.4.2 affected this error. We are not using this package directly but some of the packages are dependent on it.
ERROR LOGS :