pub finished with exit code 78
2023-06-07 本文已影响0人
__Mr_Xie__
一、常规办法
执行flutter packages pub run build_runner build
后报code 78
错误
- 1、
flutter packages pub run build_runner clean
- 2、
flutter packages pub run build_runner build --delete-conflicting-outputs
以上方法会解决大部分错误
二、备用方法
需要删除本地安装的插件
- 1、
flutter clean
- 2、
flutter doctor
- 3、
flutter packages pub run build_runner clean
- 4、
flutter packages pub run build_runner build --delete-conflicting-outputs