To recreate it you can clone my branch github link :- https://github.com/WOLFIEEEE/Gatsby-portfolio/tree/trying-heroku-1
and too see the error you can go to link:- ht