Infinite loop after ionic build --prod

Hi, I’m using React for creating app.
Application was created and now I try to do build:
ionic build --prod

And have infinite loop.

How to fix this problem?
P.S. I tried to remove android folder, after that add android. But its not helped.

Hmm, what version of the Ionic CLI are you using?

$ ionic -v
6.3.0