Some device or maybe twrp itself has this issue if you format system. cannot read device name. Try this workaround:
First make sure you download the right zip for you phone and the md5 is matching with the one on the host
1. Boot to twrp - do wipe - reboot recovery - go straight install...