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

brick_offline_first_with_supabase_build v0.1.0 from pub.dev throws an exception when starting the build_runner #427

Closed
devj3ns opened this issue Aug 29, 2024 · 1 comment

Comments

@devj3ns
Copy link
Contributor

devj3ns commented Aug 29, 2024

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.

tshedor added a commit that referenced this issue Aug 29, 2024
@tshedor
Copy link
Collaborator

tshedor commented Aug 29, 2024

Fixed and published in #430

@tshedor tshedor closed this as completed Aug 29, 2024
@tshedor tshedor mentioned this issue Aug 30, 2024
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants