Do you mean it fails when running ./launcher rebuild app? Can you share the output please?
./launcher rebuild app