FlavorMate / flavormate-app

GNU Affero General Public License v3.0
6 stars 0 forks source link

Compiling errors #9

Closed JmzTaylor closed 14 hours ago

JmzTaylor commented 15 hours ago

Is there any additional steps to build this other than flutter pub get? Getting tons of errors referencing PUnits. This is just a partial list of errors.

ERROR: lib/riverpod/categories/p_raw_categories.dart:14:25: Error: The getter 'pApiProvider' isn't defined for the class 'PRawCategories'. ERROR: - 'PRawCategories' is from 'package:flavormate/riverpod/categories/p_raw_categories.dart' ('lib/riverpod/categories/p_raw_categories.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'pApiProvider'. ERROR: await ref.watch(pApiProvider).categoriesClient.findRaw(language); ERROR: ^^^^^^^^^^^^ ERROR: lib/riverpod/units/p_units.dart:11:25: Error: The getter 'ref' isn't defined for the class 'PUnits'. ERROR: - 'PUnits' is from 'package:flavormate/riverpod/units/p_units.dart' ('lib/riverpod/units/p_units.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'ref'. ERROR: final units = await ref.watch(pApiProvider).unitsClient.findAll(); ERROR: ^^^ ERROR: lib/riverpod/units/p_units.dart:11:35: Error: The getter 'pApiProvider' isn't defined for the class 'PUnits'. ERROR: - 'PUnits' is from 'package:flavormate/riverpod/units/p_units.dart' ('lib/riverpod/units/p_units.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'pApiProvider'. ERROR: final units = await ref.watch(pApiProvider).unitsClient.findAll(); ERROR: ^^^^^^^^^^^^ ERROR: lib/riverpod/units/p_units.dart:13:5: Error: The getter 'ref' isn't defined for the class 'PUnits'. ERROR: - 'PUnits' is from 'package:flavormate/riverpod/units/p_units.dart' ('lib/riverpod/units/p_units.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'ref'. ERROR: ref.keepAlive(); ERROR: ^^^

JmzTaylor commented 14 hours ago

flutter pub run build_runner build

This needs to be ran before flutter build