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

/usr/bin/bash: line 1: C:ProgramDatachocolateylibnavitoolsnavi.exe: command not found #897

Open
hslima00 opened this issue May 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hslima00
Copy link

Describe the bug
Any navi command results in a error in windows 10, installation from scoop.

To Reproduce
Steps to reproduce the behavior:

  1. Use winget to install navi from scoop, version 2.23
  2. Open cmd and run navi
  3. Error shown: /usr/bin/bash: line 1: C:ProgramDatachocolateylibnavitoolsnavi.exe: command not found

Expected behavior
Normally run navi

Screenshots
image
image

Versions:

image
@hslima00 hslima00 added the bug Something isn't working label May 14, 2024
Copy link

welcome bot commented May 14, 2024

Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)

@wangshuai-007
Copy link

wangshuai-007 commented Jun 9, 2024

It is correct in windows .

If you want use navi in windows, you must create command by yourself.

First, you should create your cheats file. by default,It is %AppData%\navi\cheats\
Then create yourself cheats fold, just like my_cheats,if fold not exist ,create it. the full path is %AppData%\navi\cheats\my_cheats\
Then you can create your first sample cheat file in my_cheats folder. There is my ii.cheats

% ii

# ii open my_cheats path
powershell.exe  'ii "\$env:AppData\navi\cheats\my_cheats"'

Then, run command navi -p C:\Users\{user}\AppData\Roaming\navi\cheats\my_cheats, select ii command.

the -p param is your chaeats folder's real full path.

It will work.

Next time,just run navi command ,your cheats file in my_cheats will include.

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