I was able to fix this bug by downgrading to version 4.1.6 of create-single-spa. I recommend that you do the same, surely in versions later than 5.X this problem will be solved.