Skip to content

Wrong fileName on cloud_firestore_web package. #1973

Closed
@ditman

Description

@ditman

Hey guys, thank you so much for great work. I tried to utilize it but getting these errors. Do you know a reason or suggestion how to fix it.
flutter build web

Target dart2js failed: Exception: lib/generated_plugin_registrant.dart:6:8:
Error: Error when reading '../../../flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.0/lib/firestore_web.dart': Error reading
'../../../flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.0/lib/firestore_web.dart'  (No such file or directory)
import 'package:cloud_firestore_web/firestore_web.dart';
       ^
lib/generated_plugin_registrant.dart:13:51:
Error: Getter not found: 'FirestoreWeb'.
  FirestoreWeb.registerWith(registry.registrarFor(FirestoreWeb));
                                                  ^^^^^^^^^^^^
lib/generated_plugin_registrant.dart:13:3:
Error: Getter not found: 'FirestoreWeb'.
  FirestoreWeb.registerWith(registry.registrarFor(FirestoreWeb));
  ^^^^^^^^^^^^
Error: Compilation failed.

Originally posted by @maximchewy in #1950 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions