Source File Not Found in Angular CLI project

后端 未结 11 1447
臣服心动
臣服心动 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:11

    When application is running state and at that if you add a file with some export class then it through this type error

    ERROR in Source file not found: '/C/abc/xyz/pqr/apps/src/app/comm/ab.ts'.

    Solution

    restart application again then it works.

    By using npm start command

提交回复
热议问题