Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse, Unexpected token } #8

Closed
tot-ra opened this issue Dec 3, 2014 · 1 comment
Closed

Unable to parse, Unexpected token } #8

tot-ra opened this issue Dec 3, 2014 · 1 comment

Comments

@tot-ra
Copy link

tot-ra commented Dec 3, 2014

I'm getting an error that blocks merge (unless I force it, which works fine).
Warning: Unable to parse "client/i18n/en/file.json" file (Unexpected token }). Use --force to continue. Aborted due to warnings.

JSON indeed does contain brackets, but those are legitimate, used in angular translate as tokens..
{"obj_added": "Object {{name}} was successfully added"}

This also causes grunt build to fail (unless its forced too).

@tot-ra
Copy link
Author

tot-ra commented Dec 4, 2014

Sorry, false alarm - extra coma was just before the ending }

@rse rse closed this as completed Dec 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants