Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Error when reading 'lib/store/order_store.g.dart': No such file or directory part 'order_store.g.dart'; #1

Open
andermarce opened this issue Jun 25, 2020 · 0 comments

Comments

@andermarce
Copy link

hello,

I'm try to run flutter but I receive this error:

Compiler message:
lib/store/order_store.dart:9:6: Error: Error when reading 'lib/store/order_store.g.dart': No such file or directory
part 'order_store.g.dart';
^
lib/store/product_store.dart:6:6: Error: Error when reading 'lib/store/product_store.g.dart': No such file or directory
part 'product_store.g.dart';
^
lib/store/table_store.dart:6:6: Error: Error when reading 'lib/store/table_store.g.dart': No such file or directory
part 'table_store.g.dart';
^
lib/store/user_store.dart:5:6: Error: Error when reading 'lib/store/user_store.g.dart': No such file or directory
part 'user_store.g.dart';
^
lib/store/order_store.dart:9:6: Error: Can't use 'lib/store/order_store.g.dart' as a part, because it has no 'part of' declaration.
part 'order_store.g.dart';
^
lib/store/product_store.dart:6:6: Error: Can't use 'lib/store/product_store.g.dart' as a part, because it has no 'part of' declaration.
part 'product_store.g.dart';
^
lib/store/table_store.dart:6:6: Error: Can't use 'lib/store/table_store.g.dart' as a part, because it has no 'part of' declaration.
part 'table_store.g.dart';
^
lib/store/user_store.dart:5:6: Error: Can't use 'lib/store/user_store.g.dart' as a part, because it has no 'part of' declaration.
part 'user_store.g.dart';
^
lib/store/order_store.dart:11:37: Error: Type '_$OrderStore' not found.
class OrderStore = _OrderStore with $OrderStore;
^^^^^^^^^^^^
lib/store/product_store.dart:8:41: Error: Type '
$ProductStore' not found.
class ProductStore = _ProductStore with $ProductStore;
^^^^^^^^^^^^^^
lib/store/table_store.dart:8:37: Error: Type '
$TableStore' not found.
class TableStore = _TableStore with $TableStore;
^^^^^^^^^^^^
lib/store/user_store.dart:7:35: Error: Type '
$UserStore' not found.
class UserStore = _UserStore with $UserStore;
^^^^^^^^^^^
lib/store/order_store.dart:11:7: Error: The type '
$OrderStore' can't be mixed in.
class OrderStore = _OrderStore with $OrderStore;
^
lib/store/product_store.dart:8:7: Error: The type '
$ProductStore' can't be mixed in.
class ProductStore = _ProductStore with $ProductStore;
^
lib/store/table_store.dart:8:7: Error: The type '
$TableStore' can't be mixed in.
class TableStore = _TableStore with $TableStore;
^
lib/store/user_store.dart:7:7: Error: The type '
$UserStore' can't be mixed in.
class UserStore = _UserStore with _$UserStore;
^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant