Running into 'SyntaxError: Invalid linked format' #17398
-
Our project has recently started failing with
Any suggestions? Trying to Google this failure isn't clear what the cause could be. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After some investigation, one of our devs worked out the cause. It was due to a message string in one of our vue-i18n localisation files that contained an '@'. It turns out certain characters are reserved and need to be handled a little differently, per: https://vue-i18n.intlify.dev/guide/essentials/syntax#special-characters So: 'text.intro': 'lorem ipsum [email protected]' would need to become: 'text.intro': 'lorem ipsum abc{\'@\'}mydomain.noplace' |
Beta Was this translation helpful? Give feedback.
After some investigation, one of our devs worked out the cause. It was due to a message string in one of our vue-i18n localisation files that contained an '@'. It turns out certain characters are reserved and need to be handled a little differently, per:
https://vue-i18n.intlify.dev/guide/essentials/syntax#special-characters
So:
would need to become: