meteorhacks / zones

Zone.js integration for meteor
MIT License
30 stars 11 forks source link

TypeError: Attempting to change the setter of an unconfigurable property. #65

Open moooji opened 10 years ago

moooji commented 10 years ago

Noticed this in the client console when using kadira/zones

[Error] TypeError: Attempting to change the setter of an unconfigurable property. defineProperty (zone.js, line 283) patchProperty (zone.js, line 283) (anonymous function) (zone.js, line 299) forEach ([native code], line 0) patchProperties (zone.js, line 298) patchViaPropertyDescriptor (zone.js, line 443) patch (zone.js, line 407) init (zone.js, line 668) global code (after.js, line 16)

arunoda commented 10 years ago

What's the browser and OS?

krstffr commented 9 years ago

I get this in Mac OS X 10.9.5, Safari 7.1 (9537.85.10.17.1). Not in Chrome or Firefox though.

arunoda commented 9 years ago

alright. We'll work on this. Thanks for the info.

thani-sh commented 9 years ago

Hi, Can I have a look at the page. I'm using http://zones-example.meteor.com to test zones and it doesn't throw that error. I checked is with Safari 7.0.6 (Browserstack/OS X 10.9.5) and Safari 8.0 (Local/OS X 10.10).

thani-sh commented 9 years ago

The error can be avoided with https://github.com/meteorhacks/zones/pull/66 but still it won't be able to track 'onclick' events. I think some other package defines the property and sets configurable to false.

arunoda commented 9 years ago

Released a fix for this issue with zones 1.4.0 Use that.