You might be confusing communism with dictatorship.
It is usually quickly followed by dictatorship though, since force must be used to keep people living under it. Otherwise productive people will naturally pursue prosperity for themselves and their loved ones, which leads straight to capitalism.
There’s China though. Their party is at least called a communist party. I wouldn’t call their politics communism, except for their land ownership laws. Basically a dictatorship, since anyone opposing the government seemingly ends up in prison. Hasn’t seemed to hinder their economic growth.