Chosen Solution

I upgraded ssd on my mbp then and installed Catalina. Used the system for a while and decided to give away system and processed a reset to factory restore system to give to family member. I erased the MacBook - data partition, then MacBook partition. They are defaulted as APFS. Now when I install MacOS, I cannot see the drive to install OS and disk utility doesn’t show it either to mount or reformat. How do I solve this? Please help. Nick

Try doing a pram reset. This can be done by holding the keys command + option + P + r right after you press the power button to turn on the mac. When you hear the chime 3 times you can release all held down keys immediately and try installing Mac os again. If you have selected the drive name to erase to create a new partition usually the Install will show the new partition. Restart the Mac and see if that gets it to show up. Update (11/25/2019) Hmm that is strange. To make sure when showing all disks in disk utility on the view button for the sidebar you selected show all devices right? Then usually you’d see a device under internal called Apple SSD which would sometimes contain container disk1. If you do see apple SSD you can select that erase as Mac os extended format with partition scheme as guid partition map. If it does not show up as a disk any more I’m baffled as to how a MacBook kills a known good SSD that way. Here is an image for example from my MacBook Pro Retina 15" Mid-2014.

https://www.dropbox.com/s/tbyvn4qcmudt4w

If you have a second Mac you could try connecting the two systems together in Target Disk Mode! This allows you to treat your system as if its just an external disk. I often end up doing this as it releases the OS from the drive so I can do a fulll wipe and then OS re-install. If you have stuff on your drive you want to save you should be able to gain access to it as well this way to then backup. Reference: Mac startup key combinationsUse target disk mode to move files to another computerUnderstanding the Applications for Target Disk Mode You do need to use a system which is running Mojave or newer for the second system, and your system can’t have a firmware password set or encryption enabled.