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] neofetch: The system cannot find the path specified #4564

Closed
mariobrostech opened this issue Mar 15, 2023 · 4 comments · Fixed by ScoopInstaller/Scoop#5424
Closed

[Bug] neofetch: The system cannot find the path specified #4564

mariobrostech opened this issue Mar 15, 2023 · 4 comments · Fixed by ScoopInstaller/Scoop#5424

Comments

@mariobrostech
Copy link

When trying to run neofetch after installing it via Scoop, I am presented with an error message saying "The system cannot find the path specified." Is there any way to fix this?

Thanks in advance!

@rashil2000
Copy link
Member

Have you installed git?

@mariobrostech
Copy link
Author

After you asked that, I did some more testing since I personally prefer to use mingit over the standard git package. Here's what I found:

  • Uninstalling mingit and then installing git didn't seem to fix the problem.
  • Next, I tried reinstalling both git and neofetch, which did work. Interesting!
  • What ultimately solved the problem was uninstalling neofetch, then installing git, and lastly installing neofetch again, all in that order.

That leaves us with the following:

  • git must be installed for neofetch to install successfully. Therefore, installing git shouldn't merely be a suggestion and should instead be marked as a dependency for neofetch.
  • Why would mingit not work here if the full git package does? Is neofetch utilizing functions that available through mingit? Or, is the installation script only utilizing git explicitly? Is there a way to add support for mingit if this is the case?

Thanks again for your help!

@rashil2000
Copy link
Member

Git is not required, precisely. The 'bash' executable is required, because neofetch is a bash script. git package includes bash, while mingit does not.

I would suggest installing winfetch instead of neofetch as it does not require any dependencies and is like ~100 times faster.

@rashil2000
Copy link
Member

I just pushed a commit upstream to make the error message more descriptive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants