Uncaught (in promise) SyntaxError: Must be called at the top of a setup
function
#1703
Open
5 tasks done
Labels
Status: Review Needed
Request for review comments
Reporting a bug?
The above error message is very useless because it does neither tell me what the problem is nor how this could be fixed.
I had this error several times and I think I remember that this can be fixed with some i18n init stuff but every time I encounter it, I have to waste several hours to figure it out again.
Expected behavior
A clear error message that tells me:
A note about this error and the solution (or possible solutions) in the docs.
Reproduction
//
System Info
Screenshot
Last line is the position in my own source code where the error comes from. The stack trace is way longer though.
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: