JOHW85 / ScrapeFandom

Scrapes Fandom for an updated Wiki dump
30 stars 5 forks source link

run-me.sh command not found #3

Open Kyler-Li opened 5 days ago

Kyler-Li commented 5 days ago

I tried running the run-me.sh command but I keep getting this error:

zsh: command not found: run-me.sh

I'm not exactly sure what happened. Are you able to help me?

alex-ui commented 5 days ago

If you're on Windows, make sure you've set up your PATH variables correctly.

Kyler-Li commented 5 days ago

Oh, I'm using a M1 MacBook Pro.

alex-ui commented 5 days ago

Oh, I'm using a M1 MacBook Pro.

In that case, try executing these two commands:

PATH=/bin:/usr/bin:/usr/local/bin:/sbin:${PATH}
export PATH

And also, just in case, you can "reset" the Z-shell (zsh) with this (specifying its complete path):

exec /bin/zsh

Or also:

exec /usr/bin/zsh

This fixes zsh, if you still get an error, the problem might not be the shell itself. Hope this helps, though!