简体   繁体   English

Flutter:cloud_firestore_web-3.1.1 错误:找不到方法:'FallThroughError'

[英]Flutter: cloud_firestore_web-3.1.1 Error: Method not found: 'FallThroughError'

This problem started to occur after updating flutter, and dependencies, when launching in Chorme(web)在 Chorme(web) 中启动时更新 flutter 和依赖项后开始出现此问题

sdk: '>=3.0.0-35.0.dev <4.0.0' sdk: '>=3.0.0-35.0.dev <4.0.0'

cupertino_icons: ^1.0.5 cupertino_icons: ^1.0.5
firebase_core: ^2.4.0 firebase_core: ^2.4.0
cloud_firestore: ^4.2.0 cloud_firestore:^4.2.0
firebase_auth: ^4.2.1 firebase_auth:^4.2.1

Launching lib/main.dart on Chrome in debug mode... Waiting for connection from debug service on Chrome... ../../../.pub-cache/hosted/pub.dev/cloud_firestore_web-3.1.1/lib/src/utils/web_utils.dart:71:13: Error: Method not found: 'FallThroughError'.以调试模式在 Chrome 上启动 lib/main.dart ...等待来自 Chrome 上调试服务的连接... ../../../.pub-cache/hosted/pub.dev/cloud_firestore_web-3.1.1 /lib/src/utils/web_utils.dart:71:13: 错误:找不到方法:'FallThroughError'。 throw FallThroughError();抛出 FallThroughError(); ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^

It looks like this is a known issue: https://github.com/firebase/flutterfire/issues/10140看起来这是一个已知问题: https ://github.com/firebase/flutterfire/issues/10140

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:找不到方法:“FallThroughError”。 抛出 FallThroughError(); - Error: Method not found: 'FallThroughError'. throw FallThroughError(); Flutter on IOS:致命错误:找不到模块“cloud_firestore” - Flutter on IOS: fatal error: module 'cloud_firestore' not found 如何在 Flutter web 应用程序中使用云 Firestore - How to use cloud firestore in Flutter web app Flutter:Android 中的 Cloud Firestore (24.2.2) 内部错误 - Flutter: Internal error in Cloud Firestore (24.2.2) in Android Flutter:Cloud Firestore Firestore 组件不存在 - Flutter: Cloud Firestore Firestore component is not present flutter firestore 未在云 firestore 数据库中创建文档 - flutter firestore not creating a document in the cloud firestore database 使用 Flutter 从 Cloud Firestore 读取数据 - Reading data from Cloud Firestore with Flutter 将 Flutter 中的 FieldValue.arrayUnion 与 Cloud FireStore 一起使用 - Use FieldValue.arrayUnion in Flutter with Cloud FireStore Flutter cloud_firestore:^2.0.0 构建失败 - Flutter cloud_firestore: ^2.0.0 build failure Flutter:MissingPluginException(找不到方法 DocumentReference#set on channel plugins.flutter.io/firebase_firestore 的实现) - Flutter: MissingPluginException(No implementation found for method DocumentReference#set on channel plugins.flutter.io/firebase_firestore)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM