-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Error: error occured in dts build #873
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is complete error log
@dub/ui:dev: Error: error occured in dts build
@dub/ui:dev: at Worker. (J:\Next\dub\dub\node_modules.pnpm\[email protected][email protected][email protected]\node_modules\tsup\dist\index.js:2074:22)
@dub/ui:dev: at Worker.emit (node:events:514:28)
@dub/ui:dev: at MessagePort. (node:internal/worker:243:53)
@dub/ui:dev: at [nodejs.internal.kHybridDispatch] (node:internal/event_target:741:20)
@dub/ui:dev: at exports.emitMessage (node:internal/per_context/messageport:23:28)
@dub/ui:dev: DTS Build failed
@dub/ui:dev: Error: Failed to compile. Check the logs above.
@dub/ui:dev: at error (J:\Next\dub\dub\node_modules.pnpm\[email protected]\node_modules\rollup\dist\shared\rollup.js:198:30)
@dub/ui:dev: at throwPluginError (J:\Next\dub\dub\node_modules.pnpm\[email protected]\node_modules\rollup\dist\shared\rollup.js:21718:12)
@dub/ui:dev: at Object.error (J:\Next\dub\dub\node_modules.pnpm\[email protected]\node_modules\rollup\dist\shared\rollup.js:22672:20)
@dub/ui:dev: at Object.error (J:\Next\dub\dub\node_modules.pnpm\[email protected]\node_modules\rollup\dist\shared\rollup.js:21895:42)
@dub/ui:dev: at Object.transform (J:\Next\dub\dub\node_modules.pnpm\[email protected][email protected][email protected]\node_modules\tsup\dist\rollup.js:8358:20)
@dub/ui:dev: at J:\Next\dub\dub\node_modules.pnpm\[email protected]\node_modules\rollup\dist\shared\rollup.js:22879:40
@dub/ui:dev: src/accordion.tsx(9,20): error TS2344: Type 'ForwardRefExoticComponent<AccordionItemProps & RefAttributes>' does not satisfy the constraint 'keyof IntrinsicElements | ForwardRefExoticComponent | (new (props: any) => Component<any, {}, any>) | ((props: any, context?: any) => ReactNode)'.
@dub/ui:dev: Type 'ForwardRefExoticComponent<AccordionItemProps & RefAttributes>' is not assignable to type 'ForwardRefExoticComponent'.
@dub/ui:dev: Type
The text was updated successfully, but these errors were encountered: