TWRP unable to wipe or format `Failed to mount '/system' (Device or resource busy)`
I fixed this by using an older version of TWRP (3.2.3.1), then I downloaded GAPPs from a different source and installed using adb sideload now all is working.