Update: Okay this is weird. I’m currently in Slot A when trying to install the ROM. After I encountered the error again, out of curiosity I tried to reboot to Slot B. Lo and behold, it boots up to /e/ ROM. I’m currently downloading the latest nightly build.
Wow! That is interesting! @rhunault could this have to do with the A/B partitions in MiA1. The build is trying to install on the same partition and maybe failing giving an error. When @spg changed the partition it worked. Never seen this error before.
The point of having A/B partitions was that the install would happen to the non -active partition. The advantage being that in case the install fails the existing active partition with the working build continues working. In normal phone without A/B this would result in a bricked phone.
Another Update: I tried to boot to Slot A and Slot B. Both of them able to boot to /e/ ROM. Interestingly, the latest update is in Slot A which 0.2-201812222301 while in Slot B the version is the ROM I tried to install which @Manoj provided (0.2-201811222069).
The older version 0.2-201811222069 is in Slot B. I need to boot to Slot B in order for me to delete the old rom. I’ll just leave as it is as of the moment.