When I had previously setup flutter, all was working well, however, now all of the flutter commands are resulting in this error:
Error: Error when reading '../../../../documents/flutter/bin/cache/dart-sdk/bin/snapshots/pub.dart.snapshot': No such file or directory Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (1 tries left) Command 'pub upgrade' still failed after 10 tries, giving up.```
How do I solve this?