Skip to content

Angular CLI: 6.0.1 - Unexpected token } in JSON at position 2686 #10843

@tjaussoin-luna

Description

@tjaussoin-luna

Hi, when I try to create a component, I have this error :
Unexpected token } in JSON at position 2686

Versions

Angular CLI: 6.0.1
Node: 10.0.0
OS: darwin x64
Angular: 6.0.0
... animations, common, compiler-cli, core, forms, http
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.1
@angular-devkit/build-angular     0.6.1
@angular-devkit/build-optimizer   0.6.1
@angular-devkit/core              0.6.1
@angular-devkit/schematics        0.6.1
@angular/cdk                      6.0.1
@angular/cli                      6.0.1
@angular/compiler                 6.0.1
@angular/flex-layout              6.0.0-beta.15
@angular/material                 6.0.1
@ngtools/webpack                  6.0.1
@schematics/angular               0.6.1
@schematics/update                0.6.1
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Repro steps

ng g c listsample
Unexpected token } in JSON at position 2686

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions