-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: Cannot read property 'x' of undefined #64
Comments
I found there was a empty path point in my svg file (so the script couldn't find a starting and end point to do calculations with). Removed it and it worked again. So my fix is basically useless. But I'll leave this here in case others get the same error, and wont have to go through the same process as me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got this error on a particular path, apparently no different from fully functional paths in the same project. It broke the script and hindered the animation from running. The error pointed to line 540.
Solved it by adding
if (typeof position !== 'undefined')
on line 539, making it:The shape now animates perfectly, not missing any paths.
The text was updated successfully, but these errors were encountered: