I am trying for flutter doctor
and the following error was shown
Running pub upgrade...
The system cannot find the path specified.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
Waiting for 2 seconds, press CTRL+C to quit ...
Terminate batch job (Y/N)?
the above initializing was shown for 4 hours. What may be the issue? Can anyone please help with this
I fixed that by:
flutter/bin
directory.flutter pub cache repair
.flutter doctor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With