在Angular CLI项目中找不到源文件 [英] Source File Not Found in Angular CLI project
本文介绍了在Angular CLI项目中找不到源文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的项目中有此文件夹 但是当我跑步时我得到这个错误
Hi I have this folders in my project But When I run I get this error
请问有什么主意吗?
致谢
推荐答案
重新运行ng serve
应该有助于解决该问题.您必须在本地服务器仍在运行时添加empleado.ts
,因此Angular不会看到该文件.
Rerunning ng serve
should help fix the issue. You must have added empleado.ts
while the local server was still running, hence Angular would not have seen the file.
这篇关于在Angular CLI项目中找不到源文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文