Repl not running

I created a repl to test brew and a Github issue spammer (on my own repo).

I installed brew with directions from here:
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”.