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

In version 8.2.3 - An error occurred: SyntaxError: Unexpected token } in JSON at position 641 #25

Open
rapelt opened this issue Oct 9, 2023 · 1 comment

Comments

@rapelt
Copy link

rapelt commented Oct 9, 2023

When upgrading from 8.2.1 to 8.2.3 I am now seeing the following error message

An error occurred: SyntaxError: Unexpected token } in JSON at position 641

when running

ngx-translate-extract --input ./src --output ./src/app/locale/template.pot --format=pot --clean --sort --replace

@sod
Copy link

sod commented Nov 28, 2023

may be the same as #24 and fixed since #30 (9.0.1). Or alternatively remove trailing commas in your tsconfig.json if you can't upgrade to 9.x / angular@17 yet.

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