자 앞에서 잘 Unable to find git in your PATH를 해결하고
flutter “Unable to find git in your PATH” on Flutter?
flutter을 Mac에서 설치할때는 아무 문제가 없었다(개발자는 맥을 사용하는게 정신 건강에 좋은거 같다.) 윈도우에 설치하려니 여러 문제가 다발적골절상 같이 발생한다. 만약에 이글을 보고 있다
impact-ko.tistory.com
즐거운 마음으로 에디터 설정 dart, flutter 플러그인 설치하고
시운전!! 드디어 그러나???
오류가 오른쪽 아래에서 발생했다.
Error: PowerShell executable not found. Either pwsh.exe or PowerShell.exe must be in your PATH.

윈도우 윈도우 윈도우.......
다시 서핑을 시작했다.
또 권한 문제 인거 같긴 하지만 찾아 보고 하는게 좋을거 같아서 서핑
여기에서 해법을 찾았다.
github.com/flutter/flutter/issues/15675
flutter doctor is not working, Error : Checking Dart SDK version... 'PowerShell.exe' is not recognized as an internal or extern
I followed the procedure mentioned in the documentation I have installed the git for windows Then used this command in cmd : $ git clone -b beta https://github.com/flutter/flutter.git Then i set th...
github.com

System 변수에 PowerShell도 추가해 줘야 하는것이다.
앞 전에 추가한 환경 변수 상위 경로로는 아래에 있는 PowerShell을 처리하지 못한다. 한번더 앞과 같은 방법으로 추가해준다.
C:\Windows\System32
추가방법 link 참조impact-ko.tistory.com/89
flutter “Unable to find git in your PATH” on Flutter?
flutter을 Mac에서 설치할때는 아무 문제가 없었다(개발자는 맥을 사용하는게 정신 건강에 좋은거 같다.) 윈도우에 설치하려니 여러 문제가 다발적골절상 같이 발생한다. 만약에 이글을 보고 있다
impact-ko.tistory.com
환경변수 파워쉘 추가한 모습

주의 : 현재는 windowsPowerShell\v1.0이지만 나중에 들어온 분들은 혹여 저 버전이 달라 질 수도 있으니
시스템32 windowsPowerShell을 들어가서 폴더 확인해 보시고, Android Studio를 ide재시작, PoserShell켜져 있는게 있으면 종료 후 시도 하도록 하자.
'Mobile > Flutter' 카테고리의 다른 글
| fvm 설치 (0) | 2024.04.10 |
|---|---|
| flutter CERTIFICATE_VERIFY_FAILED: self signed certificate in certificate (0) | 2021.04.16 |
| flutter “Unable to find git in your PATH” on Flutter? (2) | 2021.04.06 |
| MAC에서 시뮬레이터 구동 (0) | 2020.12.18 |
| Flutter. 영문 단어 random 생성 (0) | 2020.12.06 |