-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unexpected token ] in JSON at position 719 #8
Comments
you are totally right, the error message is shitty (that's one that comes from @angular/cli) Please try to change
|
The error is still here. Same error although changed the command to: |
could you please share OS that you have and the versions of those packages
? |
Alright, that was my fault, i had a trailing comma in Issue solved (if there cant be anything done to make the error message more obvious). Thanks for the support though. |
wow, the error is really weird. This library is just a function which is called by angular cli. You type
and this actually is that angular cli generates something. Then the lib is that something, or, more correct, lib says how to do it. This error message comes from angular cli because it could not parse your file. If you return this comma in place and try to generate another component, directive or whatsoever it would result into the same error. I hope this clarifies the root of the error and how it all works (a bit). If the issue is solved, could you close it, please? |
Executing one of the example commands:
ng g ngx-spec:spec '**/*'
gives only me the following (and does not do anything):
Either the package is broken or i have a configuration error i cannot find.
Also, the error message doesnt really help.
(All my dependencies are up to date)
The text was updated successfully, but these errors were encountered: