Unable to install MacOS after wiping computer
I tried to wipe my computer and put it back to factory settings. The first time I did it, it was APFS and it told be there was a problem when I tried to reinstall MacOS Mojave. So I looked up a work around (what I found said it had to do with my computer being a bit older than the current system and APFS?) and now I am on MacOS Sierra. That one said an error occurred and to try again when I tried to install it. I have not been able to figure out how to get the OS reinstalled correctly or how to repair the disk/drive (?). I tried running first aid and it’s telling me there is a problem. I also tried erasing Macintosh HD again but it’s says the erase process has failed. My computer is also already in internet recovery mode and the other recovery mode will not open. It always shows the globe when I do R + Command.
MacBook Pro 15″, macOS 10.14