The release of TWRP 3.6.0 brought several functional upgrades designed to streamline the flashing process on modern hardware:
If you boot into TWRP and see the internal storage as "0 MB" or get an error about mounting: twrp 3.6.0