Failed to open macOS installer
I was trying to wipe the computer of all my stuff before giving it to my daughter and I guess I also deleted the OS??
When I try to install macOS Sierra through disk utility, it eventually says 'An error occurred while preparing the installation. Try running this application again.' I have tried running first aid first and everything. It was giving me the folder with the question mark for a while and now it's saying 'Failed to open macOS installer'. Any help would be appreciated!