Hi,
I am also struggling to discover whether its a bug or some user-driven mistake..:-)
But, I have found a solution to it which works most of the time.
I just pass the alignment and spacing parameters (together) and it fixes the problem whether this error pops-up in VStack or HStack
Example : alignment: .center, spacing: 0
It fails when I don't apply both parameters together.
If you manage to find the reason for this strange behaviour please update this post accordingly.
Many thanks..