Mac book pro 2014 stuck in base system
The problem is you are trying to have the installer erase itself.
Your internal storage is broken and not showing up, so you could install to an external drive or get a repair.  Both will work once it’s repaired and if you get your external drive erased, a clean install might let you run for a while or just know it needs someone that can diagnose and repair it.