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

TypeError: Attempting to configurable attribute of unconfigurable property #70

Closed
robhicks opened this issue Mar 6, 2017 · 5 comments
Closed

Comments

@robhicks
Copy link

robhicks commented Mar 6, 2017

This is for v1.0.0-rc.1 and also v1.0.0-alpha.4.

When running tests with PhantomJS 2.1.14, this error is thrown:

TypeError: Attempting to configurable attribute of unconfigurable property.
  at dist/components/idx-nwc/dist/webcomponents/custom-elements.min.js:18

Error first appeared in v1.0.0-alpha.4.

@cronon
Copy link
Contributor

cronon commented Apr 6, 2017

The error is thrown when the polyfill tries to patch nodes with Object.defineProperty. Phantomjs has dozen of related issues. ariya/phantomjs#13895
There was a dirty workaround to use __defineGetter__ method, nevertheless I tried and it didn't work

@Mirodil
Copy link

Mirodil commented Apr 26, 2017

The same issue

@rootical
Copy link

Subscribing, blocks quite a lot of work on this end.

@treshugart
Copy link

I'm not sure this is fixable due to the PhantomJS unconfigurable issues and the fact that it's been deprecated in favour of Chrome headless.

@TimvdLippe
Copy link
Contributor

Sadly this is an issue in PhantomJS and it is deprecated. Therefore I am closing this issue.

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

6 participants