Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] cannot detect git path on windows #789

Open
xiedeacc opened this issue Oct 31, 2024 · 6 comments
Open

[BUG] cannot detect git path on windows #789

xiedeacc opened this issue Oct 31, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@xiedeacc
Copy link

cannot detect git path on windows in fact it does exists

PS E:\code\flutter\aidea> fvm flutter doctor
Error: Unable to find git in your PATH.
PS E:\code\flutter\aidea> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.19045.5011], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.11.2)
[√] Android Studio (version 2024.2)
[√] VS Code (version 1.94.2)
[!] Proxy Configuration
    ! NO_PROXY is not set
[√] Connected device (4 available)
[√] Network resources

! Doctor found issues in 1 category.
PS E:\code\flutter\aidea>
@xiedeacc xiedeacc added the bug Something isn't working label Oct 31, 2024
@xiedeacc
Copy link
Author

use administrator or open development mode fixed this problem

@xiedeacc xiedeacc reopened this Nov 2, 2024
@xiedeacc
Copy link
Author

xiedeacc commented Nov 2, 2024

it sometimes works well, somes not use administror, guys can fix this problem, I'm sure git exists on my windows, and can execute in the powershell

@xiedeacc
Copy link
Author

xiedeacc commented Nov 2, 2024

now fvm flutter -v cannot find any problem, but fvm flutter run -d 192fe6de will meet Error: Unable to find git in your PATH.

@leoafarias
Copy link
Owner

@xiedeacc When you run "git" in the terminal, does everything work correctly?

@xiedeacc
Copy link
Author

xiedeacc commented Nov 4, 2024

@xiedeacc When you run "git" in the terminal, does everything work correctly?

yes everything work correctly, use flutter run -d no such problem

@xiedeacc
Copy link
Author

xiedeacc commented Nov 9, 2024

FYI: my powershell version is powershell 7.4.6
@leoafarias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants