Cannot move window to another space after updating to new version of yabai

It’s very frustrating when updating the new version of Yabai if you cannot move application windows to another space. You can follow my steps to make it work again.