ng generate component giving error “Unexpected token / in JSON at position 629”

前端 未结 4 482
南方客
南方客 2021-01-04 06:13

I just cloned an angular 6 project from bitbucket, did npm install and all the related tasks, it seems to be working well, but when I try to generate a new comp

4条回答
  •  -上瘾入骨i
    2021-01-04 06:59

    I also had same problem, when I trying to create component and after googling, I found https://jsonlint.com/ and which validate your JSON files and it points to the exact line and error.

    For more information, please refer to following thread: https://github.com/angular/angular-cli/issues/10880

    Cheers!

提交回复
热议问题