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

前端 未结 4 481
南方客
南方客 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条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-04 06:56

    Check if you accidentally made a comment. Open up angular.json and look for '/' on the line or 'position' specified. JSON does not support comments.

提交回复
热议问题