first we press n to open objects properties then we go to shading to see where there are holes and then we go to the cube and we select edit mode and we selecting all the nodes that are transparent (left click and shift ) then we go mesh and click on faces ->flip normal