Flutter web: platform_metadata_web.dart not found
Opened this issue · 0 comments
Describe the bug:
Error: Error when reading '/C:/Users/UserName/AppData/Local/Pub/Cache/hosted/pub.dev/platform_metadata-0.0.1/lib/platform_metadata_web.dart': Error reading
'/C:/Users/UserName/AppData/Local/Pub/Cache/hosted/pub.dev/platform_metadata-0.0.1/lib/platform_metadata_web.dart' (file not found.
)
import 'package:platform_metadata/platform_metadata_web.dart';
^
.dart_tool/flutter_build/8c4c8fac459260ef15e31123b09ab566/web_plugin_registrant.dart:46:3:
Error: Undefined name 'PlatformMetadataWeb'.
PlatformMetadataWeb.registerWith(registrar);
^^^^^^^^^^^^^^^^^^^
To Reproduce
Unable to compile a version of flutter web. No problem with the mobile though.
Steps to reproduce the behavior:
- Running Flutter web
**Web :
- Browser [All]
Additional context
Flutter 3.13.7 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2f708eb839 (5 months ago) • 2023-10-09 09:58:08 -0500
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0