Comment
Author: Admin | 2025-04-28
While I am trying to run flutter app and when I hit flutter run I am getting this error. 'crumb' is not recognized as an internal or external command,operable program or batch file.'where' is not recognized as an internal or external command,operable program or batch file. James Z12.3k10 gold badges27 silver badges47 bronze badges asked Sep 19, 2018 at 18:10 I have the 2 solutions which will work for suresolution 1:As @Ali said add it to the environmental variables properly and save itSolution 2:Go to flutter installation folder and inside flutter/bin edit the flutter.bat file using a text editor and remove the line (20) that says:IF EXIST "%mingit_path%" SET PATH=%PATH%;%mingit_path%The code should look like this on those lines:REM If available, add location of bundled mingit to PATH SET mingit_path=%FLUTTER_ROOT%\bin\mingit\cmdSave and Run flutter doctor and everything should work fine.Note for opening the bat file you can use your text editor or use notepad ++ answered Sep 30, 2022 at 18:29 if you are using window maybe try thisgo to system environment and add to system path name as path and the value :C:\Windows\System32;flutter bin path e.g D:\flutter\binthen add to the path you've created the shell command path so you won't face any problemC:\Windows\System32\WindowsPowerShell\v1.0sorry for my english :( answered Mar 26, 2021 at 12:02
Add Comment