firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.67k stars 3.97k forks source link

🐛 [firebase_core] Can not deploy Flutter web app to Firebase Hosting #12347

Closed nitroplr closed 7 months ago

nitroplr commented 7 months ago

Bug report

Describe the bug I have a github action I have used to deploy my Flutter web app for years that is now throwing an error. This happened after upgrading to Flutter 3.19.0 which I have since reverted back to 3.16.9 but I still can not deploy my web app that I have deployed hundreds of times. When I upgraded Flutter, I also ran flutter pub upgrade. When nothing worked, I replaced my pubspec.lock with the one that worked previously and deploy still failed. After deleting pubspec.lock and running flutter pub get, deploy still fails.

Manually trying to deploy the app with firebase deploy --only hosting after flutter build web also causes a very nondescriptive error when uploading new files. Googling the error leads me to believe it is a problem with my firebase.json, which has not changed since many successful deploys.

Error: Task aa0a962e03a3023433fd4848902f9d5112944e89b9e76468f67d0a42b0871660 failed: retries exhausted after 6 attempts, with error: The "path" argument must be of type string. Received undefined
firebase.json ```js { "hosting": { "public": "build/web", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], "rewrites": [ { "source": "**", "destination": "/index.html" } ] }, "functions": { "source": "functions", "ignore": [ "node_modules", ".git", "firebase-debug.log", "firebase-debug.*.log" ] }, "firestore": { "rules": "firestore.rules", "indexes": "firestore.indexes.json" }, "emulators": { "functions": { "host": "localhost", "port": 5001 }, "ui": { "enabled": true }, "singleProjectMode": true, "firestore": { "port": 8080 }, "hosting": { "port": 5000 } }, "storage": { "rules": "storage.rules" } } ```
Github Action Error Run flutter build web ``` Compiling lib/main.dart for the Web... Target dart2js failed: ProcessException: Process exited abnormally with exit code 1: /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/accelerometer.dart:52:45: Error: The type 'JSObject' can't be used as supertype. class AccelerometerReadingValues implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/ambient_light.dart:22:44: Error: The type 'JSObject' can't be used as supertype. class AmbientLightReadingValues implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/anchors.dart:11:27: Error: The type 'JSObject' can't be used as supertype. class XRAnchor implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/anchors.dart:21:30: Error: The type 'JSObject' can't be used as supertype. class XRAnchorSet implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/angle_instanced_arrays.dart:11:41: Error: The type 'JSObject' can't be used as supertype. class ANGLE_instanced_arrays implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/attribution_reporting_api.dart:9:49: Error: The type 'JSObject' can't be used as supertype. class HTMLAttributionSrcElementUtils implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/attribution_reporting_api.dart:20:53: Error: The type 'JSObject' can't be used as supertype. class AttributionReportingRequestOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/audio_output.dart:[10](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:10):37: Error: The type 'JSObject' can't be used as supertype. class AudioOutputOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/background_fetch.dart:17:41: Error: The type 'JSObject' can't be used as supertype. class BackgroundFetchManager implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/background_fetch.dart:32:43: Error: The type 'JSObject' can't be used as supertype. class BackgroundFetchUIOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/background_fetch.dart:86:40: Error: The type 'JSObject' can't be used as supertype. class BackgroundFetchRecord implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/background_sync.dart:[11](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:12):30: Error: The type 'JSObject' can't be used as supertype. class SyncManager implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/badging.dart:9:33: Error: The type 'JSObject' can't be used as supertype. class NavigatorBadge implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/capture_handle_identity.dart:10:38: Error: The type 'JSObject' can't be used as supertype. class CaptureHandleConfig implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/capture_handle_identity.dart:30:32: Error: The type 'JSObject' can't be used as supertype. class CaptureHandle implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/clipboard_apis.dart:42:32: Error: The type 'JSObject' can't be used as supertype. class ClipboardItem implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/clipboard_apis.dart:60:39: Error: The type 'JSObject' can't be used as supertype. class ClipboardItemOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/compute_pressure.dart:15:35: Error: The type 'JSObject' can't be used as supertype. class PressureObserver implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/compute_pressure.dart:33:33: Error: The type 'JSObject' can't be used as supertype. class PressureRecord implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/compute_pressure.dart:45:42: Error: The type 'JSObject' can't be used as supertype. class PressureObserverOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/contact_picker.dart:11:33: Error: The type 'JSObject' can't be used as supertype. class ContactAddress implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/contact_picker.dart:30:30: Error: The type 'JSObject' can't be used as supertype. class ContactInfo implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/contact_picker.dart:56:40: Error: The type 'JSObject' can't be used as supertype. class ContactsSelectOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/contact_picker.dart:67:34: Error: The type 'JSObject' can't be used as supertype. class ContactsManager implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/content_index.dart:14:37: Error: The type 'JSObject' can't be used as supertype. class ContentDescription implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/content_index.dart:42:31: Error: The type 'JSObject' can't be used as supertype. class ContentIndex implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cookie_store.dart:34:40: Error: The type 'JSObject' can't be used as supertype. class CookieStoreGetOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cookie_store.dart:51:29: Error: The type 'JSObject' can't be used as supertype. class CookieInit implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cookie_store.dart:83:43: Error: The type 'JSObject' can't be used as supertype. class CookieStoreDeleteOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cookie_store.dart:106:33: Error: The type 'JSObject' can't be used as supertype. class CookieListItem implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cookie_store.dart:140:37: Error: The type 'JSObject' can't be used as supertype. class CookieStoreManager implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/credential_management.dart:17:29: Error: The type 'JSObject' can't be used as supertype. class Credential implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/credential_management.dart:28:37: Error: The type 'JSObject' can't be used as supertype. class CredentialUserData implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/credential_management.dart:37:39: Error: The type 'JSObject' can't be used as supertype. class CredentialsContainer implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/credential_management.dart:49:33: Error: The type 'JSObject' can't be used as supertype. class CredentialData implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/credential_management.dart:61:43: Error: The type 'JSObject' can't be used as supertype. class CredentialRequestOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/credential_management.dart:93:44: Error: The type 'JSObject' can't be used as supertype. class CredentialCreationOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/credential_management.dart:160:52: Error: The type 'JSObject' can't be used as supertype. class FederatedCredentialRequestOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_animation_worklet.dart:25:41: Error: The type 'JSObject' can't be used as supertype. class WorkletAnimationEffect implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_animation_worklet.dart:51:37: Error: The type 'JSObject' can't be used as supertype. class WorkletGroupEffect implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:17:38: Error: The type 'JSObject' can't be used as supertype. class FontFaceDescriptors implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:57:27: Error: The type 'JSObject' can't be used as supertype. class FontFace implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:98:35: Error: The type 'JSObject' can't be used as supertype. class FontFaceFeatures implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:102:40: Error: The type 'JSObject' can't be used as supertype. class FontFaceVariationAxis implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:114:37: Error: The type 'JSObject' can't be used as supertype. class FontFaceVariations implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:[12](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:13)0:34: Error: The type 'JSObject' can't be used as supertype. class FontFacePalette implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:[13](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:14)0:35: Error: The type 'JSObject' can't be used as supertype. class FontFacePalettes implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_font_loading.dart:191:33: Error: The type 'JSObject' can't be used as supertype. class FontFaceSource implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_fonts.dart:34:42: Error: The type 'JSObject' can't be used as supertype. class CSSFontFeatureValuesMap implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_highlight_api.dart:13:28: Error: The type 'JSObject' can't be used as supertype. class Highlight implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_highlight_api.dart:26:36: Error: The type 'JSObject' can't be used as supertype. class HighlightRegistry implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:30:32: Error: The type 'JSObject' can't be used as supertype. class LayoutOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:46:30: Error: The type 'JSObject' can't be used as supertype. class LayoutChild implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:59:33: Error: The type 'JSObject' can't be used as supertype. class LayoutFragment implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:74:33: Error: The type 'JSObject' can't be used as supertype. class IntrinsicSizes implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:83:36: Error: The type 'JSObject' can't be used as supertype. class LayoutConstraints implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:100:43: Error: The type 'JSObject' can't be used as supertype. class LayoutConstraintsOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:137:34: Error: The type 'JSObject' can't be used as supertype. class ChildBreakToken implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:[14](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:15)6:29: Error: The type 'JSObject' can't be used as supertype. class BreakToken implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:[15](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:16)6:36: Error: The type 'JSObject' can't be used as supertype. class BreakTokenOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:172:30: Error: The type 'JSObject' can't be used as supertype. class LayoutEdges implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:186:40: Error: The type 'JSObject' can't be used as supertype. class FragmentResultOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:214:33: Error: The type 'JSObject' can't be used as supertype. class FragmentResult implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_layout_api.dart:226:46: Error: The type 'JSObject' can't be used as supertype. class IntrinsicSizesResultOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_nav.dart:[16](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:17):39: Error: The type 'JSObject' can't be used as supertype. class FocusableAreasOption implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_nav.dart:28:49: Error: The type 'JSObject' can't be used as supertype. class SpatialNavigationSearchOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_paint_api.dart:25:50: Error: The type 'JSObject' can't be used as supertype. class PaintRenderingContext2DSettings implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_paint_api.dart:53:28: Error: The type 'JSObject' can't be used as supertype. class PaintSize implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_parser_api.dart:13:35: Error: The type 'JSObject' can't be used as supertype. class CSSParserOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_parser_api.dart:24:32: Error: The type 'JSObject' can't be used as supertype. class CSSParserRule implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_parser_api.dart:72:33: Error: The type 'JSObject' can't be used as supertype. class CSSParserValue implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_properties_values_api.dart:12:37: Error: The type 'JSObject' can't be used as supertype. class PropertyDefinition implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_regions.dart:11:31: Error: The type 'JSObject' can't be used as supertype. class NamedFlowMap implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_regions.dart:30:25: Error: The type 'JSObject' can't be used as supertype. class Region implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_typed_om.dart:22:32: Error: The type 'JSObject' can't be used as supertype. class CSSStyleValue implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_typed_om.dart:35:43: Error: The type 'JSObject' can't be used as supertype. class StylePropertyMapReadOnly implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_typed_om.dart:73:44: Error: The type 'JSObject' can't be used as supertype. class CSSVariableReferenceValue implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_typed_om.dart:100:33: Error: The type 'JSObject' can't be used as supertype. class CSSNumericType implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_typed_om.dart:252:34: Error: The type 'JSObject' can't be used as supertype. class CSSNumericArray implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_typed_om.dart:272:40: Error: The type 'JSObject' can't be used as supertype. class CSSTransformComponent implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_typed_om.dart:406:44: Error: The type 'JSObject' can't be used as supertype. class CSSMatrixComponentOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/css_view_transitions.dart:11:33: Error: The type 'JSObject' can't be used as supertype. class ViewTransition implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:15:28: Error: The type 'JSObject' can't be used as supertype. class MediaList implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:28:29: Error: The type 'JSObject' can't be used as supertype. class StyleSheet implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:69:36: Error: The type 'JSObject' can't be used as supertype. class CSSStyleSheetInit implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:88:33: Error: The type 'JSObject' can't be used as supertype. class StyleSheetList implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:97:28: Error: The type 'JSObject' can't be used as supertype. class LinkStyle implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:105:30: Error: The type 'JSObject' can't be used as supertype. class CSSRuleList implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:114:26: Error: The type 'JSObject' can't be used as supertype. class CSSRule implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:204:38: Error: The type 'JSObject' can't be used as supertype. class CSSStyleDeclaration implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom.dart:1482:40: Error: The type 'JSObject' can't be used as supertype. class ElementCSSInlineStyle implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom_view.dart:20:32: Error: The type 'JSObject' can't be used as supertype. class ScrollOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom_view.dart:92:25: Error: The type 'JSObject' can't be used as supertype. class Screen implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom_view.dart:109:32: Error: The type 'JSObject' can't be used as supertype. class CaretPosition implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom_view.dart:137:41: Error: The type 'JSObject' can't be used as supertype. class CheckVisibilityOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom_view.dart:154:33: Error: The type 'JSObject' can't be used as supertype. class BoxQuadOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom_view.dart:[17](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:18)1:43: Error: The type 'JSObject' can't be used as supertype. class ConvertCoordinateOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/cssom_view.dart:[18](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:19)7:32: Error: The type 'JSObject' can't be used as supertype. class GeometryUtils implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.[19](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:20).0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/custom_state_pseudo_class.dart:9:33: Error: The type 'JSObject' can't be used as supertype. class CustomStateSet implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/device_memory.dart:9:40: Error: The type 'JSObject' can't be used as supertype. class NavigatorDeviceMemory implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/digital_goods.dart:13:38: Error: The type 'JSObject' can't be used as supertype. class DigitalGoodsService implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/digital_goods.dart:25:30: Error: The type 'JSObject' can't be used as supertype. class ItemDetails implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/digital_goods.dart:69:34: Error: The type 'JSObject' can't be used as supertype. class PurchaseDetails implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/document_picture_in_picture.dart:24:50: Error: The type 'JSObject' can't be used as supertype. class DocumentPictureInPictureOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:38:24: Error: The type 'JSObject' can't be used as supertype. class Event implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:80:28: Error: The type 'JSObject' can't be used as supertype. class EventInit implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:130:30: Error: The type 'JSObject' can't be used as supertype. class EventTarget implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:151:39: Error: The type 'JSObject' can't be used as supertype. class EventListenerOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:182:34: Error: The type 'JSObject' can't be used as supertype. class AbortController implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:[20](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:21)9:39: Error: The type 'JSObject' can't be used as supertype. class NonElementParentNode implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:[21](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:22)7:39: Error: The type 'JSObject' can't be used as supertype. class DocumentOrShadowRoot implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:232:29: Error: The type 'JSObject' can't be used as supertype. class ParentNode implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:248:43: Error: The type 'JSObject' can't be used as supertype. class NonDocumentTypeChildNode implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:257:28: Error: The type 'JSObject' can't be used as supertype. class ChildNode implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:268:28: Error: The type 'JSObject' can't be used as supertype. class Slottable implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:276:27: Error: The type 'JSObject' can't be used as supertype. class NodeList implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:285:33: Error: The type 'JSObject' can't be used as supertype. class HTMLCollection implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:295:35: Error: The type 'JSObject' can't be used as supertype. class MutationObserver implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:311:39: Error: The type 'JSObject' can't be used as supertype. class MutationObserverInit implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:342:33: Error: The type 'JSObject' can't be used as supertype. class MutationRecord implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:4[22](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:23):37: Error: The type 'JSObject' can't be used as supertype. class GetRootNodeOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:633:41: Error: The type 'JSObject' can't be used as supertype. class ElementCreationOptions implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:646:36: Error: The type 'JSObject' can't be used as supertype. class DOMImplementation implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:838:33: Error: The type 'JSObject' can't be used as supertype. class ShadowRootInit implements JSObject *** ^ /opt/hostedtoolcache/flutter/3.19.0-stable/x64/.pub-cache/hosted/pub.dev/web-0.3.0/lib/src/dom/dom.dart:857:[31](https://github.com/nitroplr/raid_builder/actions/runs/7944451368/job/21689978458#step:6:32): Error: The type 'JSObject' can't be used as supertype. class NamedNodeMap implements JSObject *** ```

Steps to reproduce

I can not reproduce this in newer projects.

Expected behavior

The web app to get deployed and work, just like it does in my web emulator.

Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` [√] Flutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.22621.3155], locale en-US) • Flutter version 3.16.9 on channel stable at C:\Flutter\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 41456452f2 (3 weeks ago), 2024-01-25 10:06:23 -0800 • Engine revision f40e976bed • Dart version 3.2.6 • DevTools version 2.28.5 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\nitro\AppData\Local\Android\Sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Users\nitro\AppData\Local\Programs\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.4.3) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.4.33205.214 • Windows 10 SDK version 10.0.22000.0 [√] Android Studio (version 2023.1) • Android Studio at C:\Users\nitro\AppData\Local\Programs\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: [√] VS Code (version 1.86.2) • VS Code at C:\Users\nitro\AppData\Local\Programs\Microsoft VS Code • Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.3155] • Chrome (web) • chrome • web-javascript • Google Chrome 121.0.6167.185 • Edge (web) • edge • web-javascript • Microsoft Edge 121.0.2277.112 [√] Network resources • All expected network resources are available. ```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Dart SDK 3.2.6 Flutter SDK 3.16.9 raid_builder 1.0.0+1 dependencies: - cloud_firestore 4.15.4 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - cloud_firestore_web 3.10.4 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - cloud_functions 4.6.5 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter] - cupertino_icons 1.0.6 - email_validator 2.1.17 - equatable 2.0.5 [collection meta] - file_picker 6.1.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32] - firebase_auth 4.17.4 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_core 2.25.4 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_storage 11.6.5 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter] - flex_color_scheme 7.3.1 [flex_seed_scheme flutter meta] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine] - flutter_countdown_timer 4.1.0 [flutter] - flutter_portal 1.1.4 [collection flutter vector_math] - flutter_riverpod 2.4.10 [collection flutter meta riverpod state_notifier] - go_router 13.2.0 [collection flutter flutter_web_plugins logging meta] - html 0.15.4 [csslib source_span] - http 1.2.0 [async http_parser meta web] - intl 0.19.0 [clock meta path] - json_annotation 4.8.1 [meta] - just_audio 0.9.36 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter] - scroll_to_index 3.0.1 [flutter] - scrollable_positioned_list 0.3.8 [flutter collection] - shared_preferences 2.2.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows] - super_tooltip 2.0.7 [flutter] - url_launcher 6.2.4 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - url_strategy 0.2.0 [flutter_web_plugins] - uuid 4.3.3 [crypto sprintf meta fixnum] dev dependencies: - build_runner 2.4.8 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graph s http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml] - flutter_lints 3.0.1 [lints] - flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web] - json_serializable 6.7.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] transitive dependencies: - _fe_analyzer_shared 64.0.0 [meta] - _flutterfire_internals 1.3.21 [collection firebase_core firebase_core_platform_interface flutter meta] - analyzer 6.2.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - archive 3.4.10 [crypto path pointycastle] - args 2.4.2 - async 2.11.0 [collection meta] - audio_session 0.1.18 [flutter flutter_web_plugins rxdart meta] - boolean_selector 2.1.1 [source_span string_scanner] - build 2.4.1 [analyzer async convert crypto glob logging meta package_config path] - build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml] - build_daemon 4.0.1 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.4.2 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml] - build_runner_core 7.3.0 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml] - built_collection 5.1.1 - built_value 8.9.0 [built_collection collection fixnum meta] - characters 1.3.0 - checked_yaml 2.0.3 [json_annotation source_span yaml] - cli_util 0.4.1 [meta path] - clock 1.1.1 - cloud_firestore_platform_interface 6.1.5 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_functions_platform_interface 5.5.16 [firebase_core flutter meta plugin_platform_interface] - cloud_functions_web 4.6.16 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.10.0 [built_collection built_value collection matcher meta] - collection 1.18.0 - convert 3.1.1 [typed_data] - crypto 3.0.3 [typed_data] - csslib 1.0.0 [source_span] - dart_style 2.3.4 [analyzer args collection path pub_semver source_span] - fake_async 1.3.1 [clock collection] - ffi 2.1.0 - file 7.0.0 [meta path] - firebase_auth_platform_interface 7.1.4 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 5.9.4 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta web] - firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.11.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta web] - firebase_storage_platform_interface 5.1.8 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_storage_web 3.6.22 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta] - fixnum 1.1.0 - flex_seed_scheme 1.4.0 [collection flutter meta] - flutter_plugin_android_lifecycle 2.0.17 [flutter] - flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web] - frontend_server_client 3.2.0 [async path] - glob 2.1.2 [async collection file path string_scanner] - graphs 2.3.1 [collection] - http_multi_server 3.2.1 [async] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - image 4.1.7 [archive meta xml] - io 1.0.4 [meta path string_scanner] - js 0.6.7 [meta] - just_audio_platform_interface 4.2.2 [flutter plugin_platform_interface] - just_audio_web 0.4.9 [just_audio_platform_interface flutter flutter_web_plugins] - lints 3.0.0 - logging 1.2.0 - matcher 0.12.16 [async meta stack_trace term_glyph test_api] - material_color_utilities 0.5.0 [collection] - meta 1.10.0 - mime 1.0.5 - package_config 2.1.0 [path] - path 1.8.3 - path_provider 2.1.2 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows] - path_provider_android 2.2.2 [flutter path_provider_platform_interface] - path_provider_foundation 2.3.2 [flutter path_provider_platform_interface] - path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_platform_interface 2.1.2 [flutter platform plugin_platform_interface] - path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32] - petitparser 6.0.2 [meta] - platform 3.1.4 - plugin_platform_interface 2.1.8 [meta] - pointycastle 3.7.4 [collection convert js] - pool 1.5.1 [async stack_trace] - pub_semver 2.1.4 [collection meta] - pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml] - riverpod 2.5.0 [meta stack_trace state_notifier] - rxdart 0.27.7 - shared_preferences_android 2.2.1 [flutter shared_preferences_platform_interface] - shared_preferences_foundation 2.3.5 [flutter shared_preferences_platform_interface] - shared_preferences_linux 2.3.2 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface] - shared_preferences_platform_interface 2.3.2 [flutter plugin_platform_interface] - shared_preferences_web 2.2.2 [flutter flutter_web_plugins shared_preferences_platform_interface web] - shared_preferences_windows 2.3.2 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface] - shelf 1.4.1 [async collection http_parser path stack_trace stream_channel] - shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel] - sky_engine 0.0.99 - source_gen 1.5.0 [analyzer async build dart_style glob path source_span yaml] - source_helper 1.3.4 [analyzer collection source_gen] - source_span 1.10.0 [collection path term_glyph] - sprintf 7.0.0 - stack_trace 1.11.1 [path] - state_notifier 1.0.0 [meta] - stream_channel 2.1.2 [async] - stream_transform 2.1.0 - string_scanner 1.2.0 [source_span] - term_glyph 1.2.1 - test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph] - timing 1.0.1 [json_annotation] - typed_data 1.3.2 [collection] - url_launcher_android 6.3.0 [flutter url_launcher_platform_interface] - url_launcher_ios 6.2.4 [flutter url_launcher_platform_interface] - url_launcher_linux 3.1.1 [flutter url_launcher_platform_interface] - url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.3.2 [flutter plugin_platform_interface] - url_launcher_web 2.2.3 [flutter flutter_web_plugins url_launcher_platform_interface web] - url_launcher_windows 3.1.1 [flutter url_launcher_platform_interface] - vector_math 2.1.4 - watcher 1.1.0 [async path] - web 0.3.0 - web_socket_channel 2.4.0 [async crypto stream_channel] - win32 5.2.0 [ffi] - xdg_directories 1.0.4 [meta path] - xml 6.5.0 [collection meta petitparser] - yaml 3.1.2 [collection source_span string_scanner] ```

danagbemava-nc commented 7 months ago

Hi @nitroplr, does your github action cache the build? Can you try running flutter pub upgrade in your flow to see if it helps?

nitroplr commented 7 months ago

Adding pub upgrade to the workflow worked! Thank you so much. I have a support ticket in and someone I am working with from Firebase support to help me figure out why manually deploying the app does not work but I can at least update my app now. Hopefully I get this figured out and can remove pub upgrade from my deploy cycle since it often breaks the app.

danagbemava-nc commented 7 months ago

Glad that helped, if you set a dependency_override for the web package to maybe version 0.4.0, does that allow you to remove the pub upgrade command from your workflow?

nitroplr commented 7 months ago

Yes, that has fixed the workflow. Thank you again.

danagbemava-nc commented 7 months ago

Great, I'll be closing this as solved for now.

nitroplr commented 7 months ago

My problem of not being able to deploy manually was fixed by deleting the .firebase folder.