Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

error when i execute phandomjs

long yu asked on August 16, 2019

Hi :
When i execute you example of phandomjs, it return a error like this : 
TypeError: Attempting to change the setter of an unconfigurable property.
could you help me plz, i didn’t found issue about it !
thanks a lot

2 answers

Dmytro Zvazhii Flexmonster August 19, 2019

Thank you for writing to us.

We have checked the sample and here are our recommendations:
– Please make sure that you are using the latest version of Flexmonster (updating to the latest version guide)
– Use the following command: phantomjs --web-security=no pivot.js. The code in index.html sends the export file to some remote endpoint the origin of which may differ from the current one. That could cause the cross-domain XHR issue. Please see the PhantomJS API for more information:
Let us know if the information above helped to resolve the issue.

long yu August 19, 2019

hi :
Thanks a lot for you response.
I had resolved this problem by juste reinstate phantomjs .
I think that I installed it incorrectly !

Please login or Register to Submit Answer