Source File Not Found in Angular CLI project

后端 未结 11 1483
臣服心动
臣服心动 2021-01-03 17:50

Hi I have this folders in my project But When I run I get this error

Any idea please?

regards

11条回答
  •  孤独总比滥情好
    2021-01-03 18:13

    The error suggest that "source file not found".

    This same error I was also getting. In my case by mistake I created a .ts file while ng server was running. The file was not needed so deleted it, from that point I stared getting the error.

    I restore the file again without any code and the error is gone now.

提交回复
热议问题