Forum Discussion
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 an error.
I didn't even touch the code after I've got it to work.
This is the one that I've finished:
This is the error I've got TODAY:
Any thoughts?
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.
3 Replies
- AnonymousNot applicable
Yes I am facing the same issue as well. Any suggestions???
- Kyle_EscosiaFrequent 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.
- AnonymousNot 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.