turbo
turbo copied to clipboard
[turbopack] tsconfig extends field doesn't resolve
What version of Turbopack are you using?
1.6.3
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Windows
Describe the Bug
Turbopack fails on a nextjs app when there is an extends field in the tsconfig.json. Error says extends field doesn't resolve correctly
Expected Behavior
Be able to extend local tsconfig files.
To Reproduce
create a package that exports tsconfig files. import it on a next 13 app and in the tsconfig extend it. run next dev --turbo
Reproduction Repo
No response
I have got the same error. It occurred when I added analytics package from Vercel,
error - [typescript] [project-with-next]/node_modules/@vercel/analytics/tsconfig.json An issue occurred while parsing a tsconfig.json file.
extends doesn't resolve correctly
Had the same issue, from a 3rd party library even though my tsconfig has skipLibCheck: true:
error - [typescript] [project-with-next]/node_modules/.pnpm/[email protected]/node_modules/popmotion/tsconfig.json An issue occurred while parsing a tsconfig.json file.
extends doesn't resolve correctly
Also had the same issue: https://github.com/vercel/turbo/issues/2973
Same here