JavaScript error civisualize-bundle Unexpected token '}'
Created by: Nicholas-hosein-pw
Hi,
After adding Civisualize to my site I tried to open the default visualizations but when the page loaded none of the data showed up and there was a JavaScript error.
JavaScript error: civisualize-bundle.e2342d8f6da25e9c0252b878e7997e7a.js:12 Uncaught SyntaxError: Unexpected token '}'
line 12 starts like:
else this._+='L'+(this._x1=t)+','+(this._y1=n);else},arc:function
It seems that the error is at the "else}". I believe the error is coming from the file: eu.tttp.civisualize/js/d3.min.v5.7.0.js at the part like: "else;},arc:function", I think there is something that is removing the semicolon when the civisualize-bundle file is created.