Error installing Heroku on Raspberry Pi 4

I recently tried to install Heroku on my Raspberry Pi 4(8gig RAM). I am a noob so I might be missing something.

I’ve tried:

$ sudo snap install heroku --classic


error: cannot perform the following tasks:

  • Run configure hook of “heroku” snap if present (run hook “configure”:

/snap/heroku/4048/bin/run: 3: /snap/heroku/4048/bin/run: process.env.HEROKU_UPDATE_INSTRUCTIONS: not found
/snap/heroku/4048/bin/run: 5: /snap/heroku/4048/bin/run: Syntax error: word unexpected (expecting “)”)

I also tried:

$ sudo apt install gem heroku


Reading package lists… Done
Building dependency tree
Reading state information… Done

No apt package “heroku”, but there is a snap with that name.
Try “snap install heroku”

E: Unable to locate package heroku

this looks like a packaging bug …

$ snap info heroku|grep contact:

try reporting it to the packager …