MiroslavZB / world-time

BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Can't work on the web. #4

Closed nattapatwakhet closed 1 month ago

nattapatwakhet commented 4 months ago

Launching lib/main.dart on Chrome in debug mode... Warning: In index.html:14: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead. Warning: In index.html:175: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. Warning: In index.html:186: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. org-dartlang-app:/web_plugin_registrant.dart:28:8: Error: Error when reading '../../../../.pub-cache/hosted/pub.dev/thai_id_card_numbers-1.2.1/lib/thai_id_card_numbers_web.dart': No such file or directory import 'package:thai_id_card_numbers/thai_id_card_numbers_web.dart'; ^ org-dartlang-app:/web_plugin_registrant.dart:54:3: Error: Undefined name 'ThaiIdCardNumbersWeb'. ThaiIdCardNumbersWeb.registerWith(registrar); ^^^^^^^^^^^^^^^^^^^^ org-dartlang-app:/web_plugin_registrant.dart:56:3: Error: Undefined name 'WorldtimePlugin'. WorldtimePlugin.registerWith(registrar); ^^^^^^^^^^^^^^^ Failed to compile application.

Exited (1).

MiroslavZB commented 1 month ago

Hi, are you sure that this issue is coming from worldtime? we don't define ThaiIdCardNumbers nor does the worldtime plugin depend on thai_id_card_numbers