When running dart run build_runner build with brick_offline_first_with_supabase_build version 0.1.0 from pub.dev, the following exception is thrown:
[WARNING] .dart_tool/build/entrypoint/build.dart:5:8: Error: Error when reading
'../../../../AppData/Local/Pub/Cache/hosted/pub.dev/brick_offline_first_with_sup
abase_build-0.1.0/lib/builder.dart': The system cannot find the file specified.
import 'package:brick_offline_first_with_supabase_build/builder.dart' as _i3;
^
.dart_tool/build/entrypoint/build.dart:22:10: Error: Undefined name 'offlineFirstAggregateBuilder'.
[_i3.offlineFirstAggregateBuilder],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.dart_tool/build/entrypoint/build.dart:35:10: Error: Undefined name 'offlineFirstSchemaBuilder'.
[_i3.offlineFirstSchemaBuilder],
^^^^^^^^^^^^^^^^^^^^^^^^^
.dart_tool/build/entrypoint/build.dart:46:10: Error: Undefined name 'offlineFirstNewMigrationBuilder'.
[_i3.offlineFirstNewMigrationBuilder],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.dart_tool/build/entrypoint/build.dart:56:10: Error: Undefined name 'offlineFirstModelDictionaryBuilder'.
[_i3.offlineFirstModelDictionaryBuilder],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.dart_tool/build/entrypoint/build.dart:66:10: Error: Undefined name 'offlineFirstAdaptersBuilder'.
[_i3.offlineFirstAdaptersBuilder],
^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] Precompiling build script... completed, took 3.5s
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.
When using the version from git and the supabase-integration branch, I don't get this exception.
When running
dart run build_runner build
withbrick_offline_first_with_supabase_build
version0.1.0
from pub.dev, the following exception is thrown:When using the version from git and the
supabase-integration
branch, I don't get this exception.