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 when building application for web platform #943
Comments
mpastuszka
changed the title
Exception when building application for web platform
Error when building application for web platform
Apr 30, 2024
I ran into the same problem on Monday (29/04/2024). Here's my logs from my pipeline
Locking version to 3.3.0 seems to fix the issue.
|
same issue |
same energy |
pub.dev/cached_network_image_web-1.2.0/lib/cached_network_image_web.dart:159:12: Error: The method 'createImageCodecFromUrl' isn't defined for the class 'ImageLoader'. same here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
../../../../.pub-cache/hosted/pub.dev/cached_network_image_web-1.2.0/lib/cached_network_image_web.dart:159:12:
Error: The method 'createImageCodecFromUrl' isn't defined for the class 'ImageLoader'.
('../../../../.pub-cache/hosted/pub.dev/cached_network_image_web-1.2.0/lib/cached_network_image_web.dart').
return createImageCodecFromUrl(
^^^^^^^^^^^^^^^^^^^^^^^
Error: Compilation failed.
Application builds on version cached_network_image_web-1.1.1 with no problems.
Expected behavior: Application is building on web
Reproduction steps: flutter build web --source-maps --web-renderer html
Configuration:
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (7 months ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0
Version: cached_network_image: 3.3.1
cached_network_image_web: 1.2.0
Platform:
The text was updated successfully, but these errors were encountered: