EternaL Posted March 17, 2018 Report Share Posted March 17, 2018 How do I fix this error when previewing from C2?: javascript error uncaught typeerror: cannot read property 'xscale' of null (mentions spriter plugin here) Quote Link to comment Share on other sites More sharing options...
galewinston Posted June 6, 2019 Report Share Posted June 6, 2019 ‘Undefined’ is the property of the global object. This error occurs in Chrome Browser when you read a property or call a method on an undefined object . Uncaught TypeError: Cannot read property of undefined error is probably easiest to understand from the perspective of undefined, since undefined is not considered an object type at all (but its own undefined type instead), and properties can only belong to objects within JavaScript. There are a few variations of this error depending on the property you are trying to access. Sometimes instead of undefined it will say null. If you get undefined error, you need to make sure that which ever variables throws undefined error, is assigned a value to it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.