I am using a third party library for animation in my react application and after installing and using of a package I am getting this error.