You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I recently started trying to optimise my build_runner.
Something tipped of intermittent failures. On CI, from clean state, most succeed, but some report this error:
[SEVERE] auto_route_generator on lib/features/subscriptions/presentation/subscriptions_page.dart:
Invalid argument(s): Missing library: package:flutter/material.dart
It might be due to a rule I've added to build.yaml:
I'm also seeing intermittent build_runner issues with "Missing Library"
I logged the issue with dart-lang, but I'm in way over my head :) dart-lang/build#3657
Rolling back flutter a few versions seems to fix the issue.
I did manage to find a workaround. Each time I hit a file that's "missing library", I modify it with a comment, then run build runner again. Eventually I iron out the order kinks then I go back and delete the temporary comments I used to touch those files.
Hi, I recently started trying to optimise my build_runner.
Something tipped of intermittent failures. On CI, from clean state, most succeed, but some report this error:
It might be due to a rule I've added to
build.yaml
:But I am not 100% sure since the problem is non deterministic.
I'm running on:
The text was updated successfully, but these errors were encountered: