| Reference | Downloads | Github

TypeError: Cannot set property 'color' of undefined on Pavlovia

URL of experiment:

Description of the problem:
my programme works fine on my computer with psychopy, but when I upload it to the Pavlovia and try to run it, it always shows an error like “TypeError: Cannot set property ‘color’ of undefined”. I was wondering who can help me with that? Thanks!

You need to track down the object you are trying to colour and work out why it is undefined.

Have a look at the Getting Help section of my crib sheet for how to look at developer tools.

Thank you for your reply! I have followed the guide and opened the develop tools but the console screen showed
DevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/ HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
I would like to know what the problem is?