Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
273
I fixed that by:
- Ctrl+C to stop infinite error loop.
- Kill the Dart process in Windows Task Manager.
- Delete the cache folder located in flutter/bin directory.
- Run in command line flutter pub cache repair.
- Run
flutter doctor
Comments
-
G H Prakash over 1 year
I am trying for
flutter doctor
and the following error was shownRunning 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
-
Ravindra S. Patil over 2 yearswhich OS you used Mac or Windows?
-
G H Prakash over 2 yearswindows 10. Can you please help me with this
-
Hardik Mehta over 2 yearsYou can try this link : stackoverflow.com/questions/49497109/…
-
Abhijith over 2 yearsdownload latest version from flutter.dev and extract it somewhere and and use that path in your project and and do it globaly by updating new path in environment variable setting.also make sure you have stable connection when upgrading or updating packages
-
G H Prakash over 2 yearsAny body please..
-
-
G H Prakash over 2 yearsthere is no Dart process in task manager
-
G H Prakash over 2 yearsNo use. anyways thanks for the reply