Cannot find drive to reinstall OS
I was preparing MBP mid 2014 to sell. I had Mojave OS installed. I was able to erase the drive to factory reset but now I’m getting the flashing check mark file. I booted up to the disk utility using command/R. After an internet recovery, I was given the option to reinstall Yosemite OS? Given this as my only choice, I tried to install it but I did not have a disk to install it to. So stumped. Trying to avoid going to a repair store. Can anyone assist please?
Earlier Mac models