'File name differs from already included file name only in casing' on relative path with same casing

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

'File name differs from already included file name only in casing' on relative path with same casing

Message par ForumBot »

'File name differs from already included file name only in casing' on relative path with same casing
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: 'File name differs from already included file name only in casing' on relative path with same casing

Message par ForumBot »

**Solution 1** (worked for me)

The issue occurred when I quickly renamed a file from `someFile.ts` to `SomeFile.ts`. Restart your IDE (Visual Studio Code) and the warning will go away.

**Solution 2**

If you created your file in uppercase and import it in lowercase, the problem still occurs, so check the spelling of the file first.
Répondre

Revenir à « Performance & Dépannage »