Repl not running

I created a repl to test brew and a Github issue spammer (on my own repo).
Link: https://replit.com/@VillainsRule/Test#main.sh

I installed brew with directions from here: https://replit.com/talk/learn/Homebrew/116107
After running brew install gh, the repl crashed.

Loading it returns this error:

What’s the issue?

I’m receiving the same error. It’s kind of sporadic, though.

It runs for me, although it crashes. I have a solution for that though.

What I see

How to fix it

Fix line 4 by correcting the typo. Change “gh” to “sh”.