Forum Discussion
Kyle_Escosia
7 years agoFrequent Visitor
Error: "Uncaught SyntaxError: Unexpected token *"
Hi All, I'm having some trouble in creating a custom visual. I was developing a custom visual and was successful in doing so (Friday). But after accessing it again today and testing it, i got...
- 7 years ago
Anonymous
It seems like some APIs that are installed are outdated, hence causing errors.
I used powerbi-visual-tools v3 in there.
Seems like downgrading to v2.6.0 removes the error or resolves it in a way.
Anonymous
7 years agoNot applicable
Yes I am facing the same issue as well. Any suggestions???
Kyle_Escosia
7 years agoFrequent Visitor
Anonymous
It seems like some APIs that are installed are outdated, hence causing errors.
I used powerbi-visual-tools v3 in there.
Seems like downgrading to v2.6.0 removes the error or resolves it in a way.
- Anonymous7 years agoNot applicable
I figured that with 3.x we need to include external dependencies wrapped in a seperate file and include them in the externalJS. Please check the migration guide.
This solved my issue, hope it helps.