Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

0.8.1 breaks on phantomJS #674

Closed
paulsouche opened this issue Mar 14, 2017 · 5 comments
Closed

0.8.1 breaks on phantomJS #674

paulsouche opened this issue Mar 14, 2017 · 5 comments

Comments

@paulsouche
Copy link

paulsouche commented Mar 14, 2017

Hi,

I have an issue since this commit on phantomJS 2.2.1.

PhantomJS 2.1.1 (Linux 0.0.0) ERROR
  TypeError: Attempted to assign to readonly property.
  at karma-shim.js:133326
PhantomJS 2.1.1 (Linux 0.0.0) ERROR
  TypeError: Attempted to assign to readonly property.
  at karma-shim.js:133326

Line is here

I think one of the property stack or zoneAwareStack must be readonly but I can't figure out why ? Everything works fine on chrome or when downgrading on 0.8.0.

Thanks

@JiaLiPassion
Copy link
Collaborator

@paulsouche , could you provide a reproduce repo? the code https://github.com/angular/zone.js/blob/master/lib/zone.ts#L1792 not newly added in 0.8.1, so maybe some other logic goes wrong. thanks.

@paulsouche
Copy link
Author

@JiaLiPassion we have several private repositories but you can reproduce with this starter. I've just updated it to have same dependencies.

@JiaLiPassion
Copy link
Collaborator

@paulsouche , thank you for the repo, I think I have found the reason , and I will fix it soon.

@paulsouche
Copy link
Author

Great ! Glad it helps. Thank you for the great work anyway

JiaLiPassion added a commit to JiaLiPassion/zone.js that referenced this issue Mar 14, 2017
@paulsouche
Copy link
Author

Everything's fine since 0.8.2. Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants