I have configured pathAnimation diagram from this and while at the time of loading it gives below screen shot error and does not loading token animation.
My sample code repo ink.
I found one solution from this link by usage of this keyword in code and it works as expected.