Closed mozkohor closed 1 month ago
same issue here
found the problem its wsl on my side whenever ani-cli asks for bash it goes directly to wsl
any fixes for this?
temporary fix - disable linux subsystem on your machine and restart or (it might not work -> find a way to directly reach the windows bash executable)
Edit:
@mozkohor and @amad3us47, see the updated Windows installation guide in the README. Raise a new issue if you have any errors.
Original comment:
Replace @bash
with @"%GIT_INSTALL_ROOT%\bin\bash.exe"
in the ani-cli.cmd file if you want to run it with powershell.
@bash
with @"C:\Program Files\Git\bin\bash.exe"
The issue is that the scoop/shims/ani-cli.cmd
shim that gets called when you enter ani-cli
in powershell calls wsl bash. Git bash doesn't have this problem because git bash comes with a normal bash shell which gets invoked instead of the wsl bash.
There is a PR to fix this on scoop's side: https://github.com/ScoopInstaller/Extras/pull/13342, which automatically does the wsl bash
-> git for windows' bash
replacement.
You could also do this: https://github.com/pystardust/ani-cli/issues/1330#issuecomment-2109081038.
Metadata (please complete the following information) Version: 4.8 OS: Windows 11
Describe the bug Running
ani-cli
returns with error saying that the ani-cli file doesn't exist (screenshot for more context).Steps To Reproduce
ani-cli
Expected behavior It should run ani-cli
Screenshots (if applicable; you can just drag the image onto github. remove the following line if not needed)