skip to Main Content
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cloud_firestore_platform_interface-5.7.7/lib/src/platform_interface/utils/load_bundle_task_state.dart:13:13: Error: Method not found: 'FallThroughError'.
      throw FallThroughError();
            ^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/firebase_auth_platform_interface-6.10.1/lib/src/action_code_info.dart:65:15: Error: The method 'FallThroughError' isn't defined for the class 'ActionCodeInfo'.
 - 'ActionCodeInfo' is from 'package:firebase_auth_platform_interface/src/action_code_info.dart' ('../../../AppData/Local/Pub/Cache/hosted/pub.dev/firebase_auth_platform_interface-6.10.1/lib/src/action_code_info.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FallThroughError'.
        throw FallThroughError();
              ^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception


FAILURE: Build failed with an exception.

I don’t know where to put the FallThroughError(); method.

4

Answers


  1. Hello I got the same error this morning check this github
    issue

    Login or Signup to reply.
  2. upgrade your dependencies to latest version it will solve your problem.

    Login or Signup to reply.
  3. Just run this in your terminal:

    1. flutter clean
    2. flutter packages get
    3. flutter downgrade
    4. flutter run

    Thats worked for me!

    Login or Signup to reply.
  4. Run the Flutter command to update the dependencies.

    flutter pub upgrade
    

    This should fix the issue by updating the cloud_firestore_platform_interface as follows.

    cloud_firestore_platform_interface version update

    iOS

    On iOS you might get this error when running the project.

    CocoaPods's specs repository is too out-of-date to satisfy dependencies.

    To fix this issue,

    • Delete the Podfile.lock under the iOS folder
    • Navigate to iOS folder, by running cd ios in the terminal.
    • Run the command pod install --repo-update

    The app should now run fine.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search