Error when installing MacOS Sierra after erasing hard drive
I'm trying to prepare my Macbook Air 2017 for reselling. I've followed these instructions and now it's time to install a fresh copy of MacOS but I've encountered several errors including getting stuck on 16 seconds left. Can someone give me step-by-step instructions on how I might be able to troubleshoot? I'm completely at a loss.
Additional info: When selecting a hard drive to install MacOS Sierra, "Macintosh HD" does not come up; instead the hard drive says "Untitled."
MacBook Air 13″, macOS 12.1