Closed RIRUa closed 5 months ago
Not sure what is happening here. Sounds like a problem with build_runner.
Perhaps try deleting the .dart_tool
folder and running flutter pub get
again.
Tentatively transferring to the build repo...
Can you run with -v
and copy the stack trace here?
Actually, it looks like this was only a warning, which shouldn't have prevented the build from happening? Was there some other error?
I'm not sure where this error would have come from. I think the only place we try to read the file immediately follows a check for it's existence. Maybe this could happen if there are multiple concurrent build_runner processes trying to start up and happened to delete the file between the check and trying to read it.
In any case, this is not actionable without a stack trace. If this is still happening please paste the output from running with -v
my project can't move because .dart_tool/build dir is not found.
when I tried
flutter pub run build_runner run -d
,[WARNING] .dart_tool/build/entrypoint/build.dart: Error: Error when reading '.dart_tool/build/entrypoint/build.dart': No such file or directory
.So, I tried
dart pub --suppress-analytics run build_runner doctor -v
to research reasons. However, this message was happened.