Bug #5191
openTypeScript Compilation Error: Duplicate File Inclusion Due to Case Mismatch
Start date:
11/25/2025
Due date:
11/25/2025 (13 days late)
% Done:
100%
Estimated time:
4:00 h
Spent time:
Tested Date:
Raised by Tester:
Page/ Module (POS):
Description
The TypeScript compiler reports a duplicate file inclusion caused by inconsistent casing between the actual file name and its import path. The file exists on disk as Plan-model.js, but one or more modules import it using a different casing (plan-model.js). Because TypeScript’s module resolution is case-sensitive, it resolves these as two separate files pointing to the same physical file, resulting in a compilation conflict.
Subtasks
Related issues
Updated by Thirupathirao Uppu 14 days ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Normalize the file name to one consistent casing.
Update all import paths referencing this module to match the exact casing.
Commit the casing change properly to Git (Windows may require git mv to register the rename).