If a person or organization has growing pains, they experience temporary difficulties and problems at the beginning of a particular stage of development.
There's some sympathy for this new country's growing pains.
...the growing pains of teenagers experiencing their first taste of adulthood.