Need a special offer?Find out if your project fits.
+

error when i execute phandomjs

Answered
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

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 19, 2019

Hello,
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: http://phantomjs.org/api/command-line.html.
 
Let us know if the information above helped to resolve the issue.
Regards,
Dmytro

Public
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