-
Notifications
You must be signed in to change notification settings - Fork 93
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
macOs 'Internal Error: Unable to follow symbol for "Record"' when rollupTypes set to true. #399
Comments
I ran into the same issue. I noticed there is a FAQ about it, https://github.com/qmhc/vite-plugin-dts?tab=readme-ov-file#internal-error-occurs-when-using-rolluptypes-true, indicating it is a limitation of the In my case I was able to resolve the issue by correcting the |
I also encountered this issue when the typescript was upgraded from 5.6.3 to 5.7.2 in lawvs/zod-compare#42, and I did not specify plugins: [
dts({
rollupTypes: true,
include: ["src/**/*.ts", "src/**/*.d.ts"],
exclude: ["src/**/__tests__/*"],
}),
], |
I also encountered the same issue After I downgraded TypeScript to 5.4.2 the error disappeared |
For me it was because of ts version mismatch between api-extractor and local package.json. You can force override it and it works fine: "pnpm": {
"overrides": {
"typescript": "^5.7.2"
}
} |
Thank you @brc-dd, that works! |
Still getting issues even with the override. There's open PR here to upgrade |
New release of |
For now I resolved the problem by removing typescript from 'devDependemcies' and changing my VSCode typescript settings. Even if both typescript versions were the same, well... it worked... |
Upgraded to
|
Thank you for this plugin.
Like in this issue, suddenly I have this error.
I can't provide a reproduction link as this is a pretty complex library code. But, like in the mentioned issue, it disappears when
rollupTypes: false
.Note that I use swc to compile.
I am on:
Thank you.
The text was updated successfully, but these errors were encountered: