flutter packages pub run build_runner build --verbose
[INFO] Generating build script...
[INFO] Generating build script completed, took 355ms
[INFO] BuildDefinition:Initializing inputs
[INFO] BuildDefinition:Building new asset graph...
[INFO] BuildDefinition:Building new asset graph completed, took 661ms
[INFO] BuildDefinition:Checking for unexpected pre-existing outputs....
[INFO] BuildDefinition:Found 7 declared outputs which already exist on disk. This is likely because the.dart_tool/build folder was deleted, or you are submitting generated files to your source repository.
[SEVERE] BuildDefinition:
Conflicting outputs were detected and the build is unable to prompt for permission to remove them. These outputs must be removed manually or the build can be run with --delete-conflicting-outputs. The outputs are: lib/Model/user.g.dart
lib/Model/IIExcMODELS/IIExcMainListModel.g.dart
lib/Model/IIExcMODELS/IIExcFolderModel.g.dart
lib/Model/IIExcMODELS/IIExcSidebarList.g.dart
lib/Model/LoginToken.g.dart
lib/Model/MoveCar/MoveCarModel.g.dart
lib/Model/MoveCar/MoveCarSmallModel.g.dart
pub finished with exit code 78
did you try to run build_runner clean and then your build again?
thanks that's works for me @kevmoo 馃帀
I have the same problem. Ran flutter packages pub run build_runner clean then flutter packages pub run build_runner build but didn't work
Most helpful comment
I have the same problem. Ran flutter packages pub run build_runner clean then flutter packages pub run build_runner build but didn't work