-
Notifications
You must be signed in to change notification settings - Fork 12.8k
forceConsistentCasingInFileNames
does not always work with paths
compiler option
#17617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for filing this. I see the exact same behavior. Interestingly, if I set |
I have the same problem on mac OS, node 7.6.0. |
Reproduced on Windows 10 as well. Interestingly, we don't even have paths set. Full tsconfig:
|
@arackaf it is |
What do you mean "inherited" ? I only have one tsconfig file - what's being inherited where? |
Sorry, it's not in the issue title but the op states that the issue can only be reproduced when using configuration inheritance. This has been my experience as well. I'm also running Windows 10, professional x64 |
Oh interesting. Well I may have stumbled onto a different repro of the same bug. I only have one tsconfig.json in my project, but this still fails for me. I ran a search on my file system, and the only other tsconfig file anywhere is in node_modules, which I've explicitly excluded. |
@mhegazy When is the fix in 18058 going to show up in a new version? If that doesn't fix my issue, then sure, I'll open a new ticket, hopefully with a minimal repro |
it should be in today's |
Cool, but when do you expect the next regular release on npm? Want to try that on my work repo. We definitely can't be running typescript@next in prod :) |
should be in 2.6, scheduled for October |
Oh my - seems I missed 2.5! :D |
This is still happening to me in 2.7.1 on mac OS. I'm using inherited tsconfigs, it doesn't matter where All the errors reported are for ambient |
A similarish bugfix related to consistent casing shipped in 2.7.2, which as it happens released today. Does it fix your issues? |
@weswigham yes! It fixes the issue. It is consistently observed in previous versions but upon switching to 2.7.2 all works correctly. |
Works for me too! Talk about instant gratification.. |
TypeScript Version: 2.4.2
Code
Expected behavior:
No compiler errors/warnings
Actual behavior:
This is running on OS X 10.9.5 (default case-insensitive HFS file system).
I am only able to reproduce the issue when using configuration inheritance. Using an absolute path with the expected casing for
baseUrl
resolves the issue.This issue is filed off of these remarks: #17542 (comment)
The text was updated successfully, but these errors were encountered: