大概描述如下:
Already included file name ... differs from file name ... only in casing.
The file is in the program because:
Imported via ...
Root file specified for compilation
解决方案
我参考了这个 链接
在tsconfig.json 中添加如下代码
"forceConsistentCasingInFileNames": false,