-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
tsconfig can't be read with some compilerOptions.baseUrl and [email protected] #10410
Comments
Not sure what kind of structure does your application have. I created a fresh app with |
Same problem here....
Where the actual file is in Seems like part of the path is concatenated when it should not Edit 1:
I am still trying to get it fixed properly... Edit 2: In previous version Edit 3: |
Maybe a regression from 3.2.0 ? #7755 |
I can confirm, that disabling eslint, for example, through craco, is a workaround for this issue. |
|
Not work well with [email protected] |
Describe the bug
Add
"baseUrl": "src",
tocompilerOptions
of tsconfig.Did you try recovering your dependencies?
It works without baseUrl, or with
"baseUrl": "./"
.Which terms did you search for in User Guide?
baseUrl
Environment
Steps to reproduce
(Write your steps here:)
"baseUrl": "src",
tocompilerOptions
of tsconfig.npm start
Expected behavior
baseUrl
accepted and imports fromsrc/features/map/index.tsx
can be written asfrom 'features/map'
.Actual behavior
Project can't be built.
Reproducible demo
The text was updated successfully, but these errors were encountered: