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
forceConsistentCasingInFileNames does not work #42270
Comments
We'd need some way to reproduce the problem in order to investigate. This usually indicates a configuration error in your project |
for to reproduce - just copy here commit with here Test and execute gulp tests from runTests directory |
That test case was replaced by baseline and it is working as intended We would need exact repro. |
So, I figured out what situation this event occurs, but there is absolutely no time to make corrections to the typescript, I hope you will still want to fix it (because the test you replaced consistently gives an error, and the same is repeated in my project). The bottom line is this - if in the dependencies of some of the packages from the package.json of my project there is some package with the same name as my class, BUT with different registers, then this causes a build error. /package.json {
"dependencies": {
"material-ui": "*", <<< this component have components with the name "progress"
"@widgets/progress": "file://./widgets/progress"
}
} /widgets/progress/Progress.tsx /index.tsx import progress from "@widgets/progress";
function Main() {
return <Progress />;
}
export default Main; excuse me, but I've no time today to reproduce in the isolated repo. PS: in my case, I just renamed my class. |
Bug Report
I found on this link the test:
4600d1b
Which helps to understand.
Second question: why this test was deleted from the master branch?
🔎 Search Terms
Duplicate #25460, but not resolved yet.
🕗 Version & Regression Information
tsc - 4.1.3
node - lts
npm - lts
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
🙂 Expected behavior
The text was updated successfully, but these errors were encountered: