Posts

Showing posts with the label error-handling

Can't execute flutter doctor command in flutter console

When I run flutter doctor command in flutter console I'm getting this error. Can someone please help me out. I tried running in C drive used both the combination of Run as Admin (C and D drive) D:\flutter>flutter doctor CreateProcessW failed 193 CreateProcessW failed 193 Unhandled exception: ProcessException: %1 is not a valid Win32 application. Command: C:\Program Files\Git\cmd\git.EXE rev-parse --abbrev-ref --symbolic @{u} #0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:485) #1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:631) #2 Process.runSync (dart:io-patch/process_patch.dart:66) #3 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:83) #4 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:321) #5 runSync (package:flutter_tools/src/base/process.dart:296) #6 _runGit (package:flutter_tools/src/version.dart:449) #7 new Fl...