Cannot format userdata, Fastboot refuses to detect
I was using an unofficial release of TWRP, as at the time there was no official release. However, the official release for my device added an "Erase Data" button, which allowed me to succesfully flash Lineage.