Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TypeScript error in undefined(undefined,undefined)

I am stuck with TypeScript error:

Failed to compile.

undefined
TypeScript error in undefined(undefined,undefined):
File name '/path/to/file/MyFileName.types.tsx' differs from already included file name '/path/to/file/myFileName.types.tsx' only in casing.  TS1149

Spot the difference in first letter between myFileName and MyFileName. I have not idea how this happened and I don't know how to fix it. I have never seen this error before. I am using TypeScript Version 3.5.3. If someone can at least point me into direction what to do, it would be super helpful.

like image 808
Marek Avatar asked Sep 28 '19 14:09

Marek


1 Answers

For my case, I just installed packages with this command

npm i

like image 133
kodek-sleuth Avatar answered Sep 20 '22 21:09

kodek-sleuth