close
0

Flutter command to delete packages in .pub-cache folder

avatar
asked 13-09-2021

2 Answers


0

If a packages in your pub cache to change or break, you can use flutter pub cache repair command performs a clean reinstall of all hosted and git packages in the system cache.

avatar
answered 13-09-2021

0

Delete the pubspec.lock file then run the command flutter pub get again.

avatar
answered 13-09-2021