Invalid JSON character when running ng serve

前端 未结 7 1696
Happy的楠姐
Happy的楠姐 2021-02-19 11:02

I am getting following error when running ng serve...

PS F:\\Projects\\RecipeApp> ng serve
Invalid JSON character: \"\\\"\" at 76:13.
Error: Invalid JSON char         


        
7条回答
  •  悲哀的现实
    2021-02-19 11:17

    Its mainly due to the syntax error in angular.json file. make sure there is a comma (,) in every end of the previous line. and also check the slash ( / and \ ) in path. use "/" instead of "\".

提交回复
热议问题