dub icon indicating copy to clipboard operation
dub copied to clipboard

Getting build error while trying to deploy to vercel

Open dipto-metaforktech opened this issue 3 months ago • 2 comments

I am submitting the errors from vercel deployment log:

11:11:18.593 @dub/ui:build: src/rich-text-area/rich-text-provider.tsx(125,7): error TS2769: No overload matches this call. 11:11:18.593 @dub/ui:build: Overload 1 of 2, '(options: Partial<EditorOptions> & { immediatelyRender?: boolean | undefined; shouldRerenderOnTransaction?: boolean | undefined; } & { immediatelyRender: false; }, deps?: DependencyList | undefined): Editor | null', gave the following error. 11:11:18.593 @dub/ui:build: Type '(Extension<...> | Extension<...> | Extension<...> | Node<...> | Extension<...> | Node<...>)[]' is not assignable to type 'AnyExtension[]'. 11:11:18.593 @dub/ui:build: Type 'Extension<...> | Extension<...> | Extension<...> | Node<...> | Extension<...> | Node<...>' is not assignable to type 'AnyExtension'. 11:11:18.593 @dub/ui:build: Type 'Extension<StarterKitOptions, any>' is not assignable to type 'Extendable<any, any, ExtensionConfig<any, any> | NodeConfig<any, any> | MarkConfig<any, any>>'. 11:11:18.593 @dub/ui:build: Types of property 'parent' are incompatible. 11:11:18.594 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.594 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.594 @dub/ui:build: Types of property 'config' are incompatible. 11:11:18.594 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...'. 11:11:18.594 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'ExtensionConfig<any, any> | NodeConfig<any, any> | MarkConfig<any, any>'. 11:11:18.594 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'MarkConfig<any, any>'. 11:11:18.594 @dub/ui:build: Types of property 'addGlobalAttributes' are incompatible. 11:11:18.594 @dub/ui:build: Type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...' is not assignable to type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...'. 11:11:18.594 @dub/ui:build: Type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....' is not assignable to type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....'. 11:11:18.594 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.594 @dub/ui:build: Type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....' is not assignable to type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....'. 11:11:18.594 @dub/ui:build: Types of property 'extensions' are incompatible. 11:11:18.595 @dub/ui:build: Type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]' is not assignable to type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]'. 11:11:18.595 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>'. 11:11:18.595 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Node<any, any> | Mark<any, any>'. 11:11:18.595 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Mark<any, any>'. 11:11:18.595 @dub/ui:build: The types of 'extend(...).parent' are incompatible between these types. 11:11:18.595 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.595 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.595 @dub/ui:build: Types of property 'config' are incompatible. 11:11:18.595 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...'. 11:11:18.595 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'ExtensionConfig<any, any> | NodeConfig<any, any> | MarkConfig<any, any>'. 11:11:18.595 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'MarkConfig<any, any>'. 11:11:18.595 @dub/ui:build: Types of property 'addGlobalAttributes' are incompatible. 11:11:18.595 @dub/ui:build: Type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...' is not assignable to type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...'. 11:11:18.595 @dub/ui:build: Type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....' is not assignable to type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....'. 11:11:18.595 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.595 @dub/ui:build: Type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....' is not assignable to type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....'. 11:11:18.595 @dub/ui:build: Types of property 'extensions' are incompatible. 11:11:18.595 @dub/ui:build: Type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]' is not assignable to type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]'. 11:11:18.595 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>'. 11:11:18.596 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Node<any, any> | Mark<any, any>'. 11:11:18.596 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Mark<any, any>'. 11:11:18.596 @dub/ui:build: The types of 'extend(...).config.group' are incompatible between these types. 11:11:18.596 @dub/ui:build: Type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.596 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.596 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined' is not assignable to type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined'. 11:11:18.596 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.596 @dub/ui:build: Type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }' is not assignable to type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }'. 11:11:18.596 @dub/ui:build: Types of property 'parent' are incompatible. 11:11:18.596 @dub/ui:build: Type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.596 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.596 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined' is not assignable to type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined'. 11:11:18.596 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.596 @dub/ui:build: Type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }' is not assignable to type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }'. 11:11:18.596 @dub/ui:build: Types of property 'editor' are incompatible. 11:11:18.596 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined'. 11:11:18.596 @dub/ui:build: Property 'getMarkdown' is missing in type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor' but required in type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor'. 11:11:18.596 @dub/ui:build: Overload 2 of 2, '(options: UseEditorOptions, deps?: DependencyList | undefined): Editor', gave the following error. 11:11:18.596 @dub/ui:build: Type '(Extension<...> | Extension<...> | Extension<...> | Node<...> | Extension<...> | Node<...>)[]' is not assignable to type 'AnyExtension[]'. 11:11:18.597 @dub/ui:build: Type 'Extension<...> | Extension<...> | Extension<...> | Node<...> | Extension<...> | Node<...>' is not assignable to type 'AnyExtension'. 11:11:18.597 @dub/ui:build: Type 'Extension<StarterKitOptions, any>' is not assignable to type 'Extendable<any, any, ExtensionConfig<any, any> | NodeConfig<any, any> | MarkConfig<any, any>>'. 11:11:18.597 @dub/ui:build: Types of property 'parent' are incompatible. 11:11:18.597 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.597 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.597 @dub/ui:build: Types of property 'config' are incompatible. 11:11:18.597 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...'. 11:11:18.597 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'ExtensionConfig<any, any> | NodeConfig<any, any> | MarkConfig<any, any>'. 11:11:18.597 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'MarkConfig<any, any>'. 11:11:18.597 @dub/ui:build: Types of property 'addGlobalAttributes' are incompatible. 11:11:18.597 @dub/ui:build: Type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...' is not assignable to type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...'. 11:11:18.597 @dub/ui:build: Type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....' is not assignable to type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....'. 11:11:18.597 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.597 @dub/ui:build: Type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....' is not assignable to type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....'. 11:11:18.597 @dub/ui:build: Types of property 'extensions' are incompatible. 11:11:18.597 @dub/ui:build: Type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]' is not assignable to type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]'. 11:11:18.597 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>'. 11:11:18.597 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Node<any, any> | Mark<any, any>'. 11:11:18.597 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Mark<any, any>'. 11:11:18.598 @dub/ui:build: The types of 'extend(...).parent' are incompatible between these types. 11:11:18.598 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.598 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Extendable<any, any, import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modul...'. 11:11:18.598 @dub/ui:build: Types of property 'config' are incompatible. 11:11:18.598 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").ExtensionConfig<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").NodeConfig<any, any> | import("/vercel/path0/node_mod...'. 11:11:18.598 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'ExtensionConfig<any, any> | NodeConfig<any, any> | MarkConfig<any, any>'. 11:11:18.598 @dub/ui:build: Type 'ExtensionConfig<any, any>' is not assignable to type 'MarkConfig<any, any>'. 11:11:18.598 @dub/ui:build: Types of property 'addGlobalAttributes' are incompatible. 11:11:18.598 @dub/ui:build: Type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...' is not assignable to type '((this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")...'. 11:11:18.598 @dub/ui:build: Type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....' is not assignable to type '(this: { name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index")....'. 11:11:18.598 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.598 @dub/ui:build: Type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....' is not assignable to type '{ name: string; options: any; storage: any; extensions: (import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<.....'. 11:11:18.598 @dub/ui:build: Types of property 'extensions' are incompatible. 11:11:18.598 @dub/ui:build: Type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]' is not assignable to type '(import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>)[]'. 11:11:18.598 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Node<any, any> | import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Mark<any, any>'. 11:11:18.598 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Node<any, any> | Mark<any, any>'. 11:11:18.598 @dub/ui:build: Type 'Node<any, any>' is not assignable to type 'Mark<any, any>'. 11:11:18.598 @dub/ui:build: The types of 'extend(...).config.group' are incompatible between these types. 11:11:18.599 @dub/ui:build: Type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.599 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.599 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined' is not assignable to type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined'. 11:11:18.599 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.599 @dub/ui:build: Type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }' is not assignable to type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }'. 11:11:18.599 @dub/ui:build: Types of property 'parent' are incompatible. 11:11:18.599 @dub/ui:build: Type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.599 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined' is not assignable to type 'string | ((this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: Editor | undefined; }) => string | undefined) | undefined'. 11:11:18.599 @dub/ui:build: Type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined' is not assignable to type '(this: { name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ... | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }) => string | undefined'. 11:11:18.599 @dub/ui:build: The 'this' types of each signature are incompatible. 11:11:18.599 @dub/ui:build: Type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }' is not assignable to type '{ name: string; options: ExtendedOptions; storage: ExtendedStorage; parent: string | ((this: ...) => string | undefined) | undefined; editor?: import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined; }'. 11:11:18.599 @dub/ui:build: Types of property 'editor' are incompatible. 11:11:18.599 @dub/ui:build: Type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined' is not assignable to type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor | undefined'. 11:11:18.599 @dub/ui:build: Property 'getMarkdown' is missing in type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor' but required in type 'import("/vercel/path0/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@tiptap/core/dist/index").Editor'. 11:11:18.599 @dub/ui:build: 11:11:18.618 @dub/ui:build: Error: error occured in dts build 11:11:18.618 @dub/ui:build: at Worker. (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/tsup/dist/index.js:2281:26) 11:11:18.618 @dub/ui:build: at Worker.emit (node:events:519:28) 11:11:18.618 @dub/ui:build: at MessagePort. (node:internal/worker:270:53) 11:11:18.618 @dub/ui:build: at [nodejs.internal.kHybridDispatch] (node:internal/event_target:845:20) 11:11:18.618 @dub/ui:build: at MessagePort. (node:internal/per_context/messageport:23:28) 11:11:18.618 @dub/ui:build: DTS Build error 11:11:18.628 @dub/ui:build: RollupError: Failed to compile. Check the logs above. 11:11:18.628 @dub/ui:build: at error (/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:353:30) 11:11:18.628 @dub/ui:build: at Object.error (/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:1721:20) 11:11:18.628 @dub/ui:build: at Object.error (/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:25627:42) 11:11:18.628 @dub/ui:build: at generateDtsFromTs (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7498:22) 11:11:18.628 @dub/ui:build: at /vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7505:59 11:11:18.628 @dub/ui:build: at _nullishCoalesce (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:1:198) 11:11:18.628 @dub/ui:build: at Object.transform (/vercel/path0/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7505:18) 11:11:18.628 @dub/ui:build: at /vercel/path0/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:1914:40 11:11:18.635 @dub/ui:build: src/rich-text-area/rich-text-toolbar.tsx(56,50): error TS2551: Property 'toggleBold' does not exist on type 'ChainedCommands'. Did you mean 'toggleNode'? 11:11:18.635 @dub/ui:build: src/rich-text-area/rich-text-toolbar.tsx(64,50): error TS2339: Property 'toggleItalic' does not exist on type 'ChainedCommands'. 11:11:18.635 @dub/ui:build: src/rich-text-area/rich-text-toolbar.tsx(74,39): error TS2339: Property 'toggleHeading' does not exist on type 'ChainedCommands'. 11:11:18.635 @dub/ui:build: src/rich-text-area/rich-text-toolbar.tsx(82,39): error TS2339: Property 'toggleHeading' does not exist on type 'ChainedCommands'. 11:11:18.635 @dub/ui:build: src/rich-text-area/rich-text-toolbar.tsx(152,58): error TS2339: Property 'unsetLink' does not exist on type 'ChainedCommands'. 11:11:18.635 @dub/ui:build: src/rich-text-area/rich-text-toolbar.tsx(160,12): error TS2339: Property 'setLink' does not exist on type 'ChainedCommands'. 11:11:18.635 @dub/ui:build: 11:11:19.268 @dub/ui:build:  ELIFECYCLE  Command failed with exit code 1. 11:11:19.279 @dub/ui:build: ERROR: command finished with error: command (/vercel/path0/packages/ui) /pnpm8/node_modules/.bin/pnpm run build exited (1) 11:11:19.280 @dub/ui#build: command (/vercel/path0/packages/ui) /pnpm8/node_modules/.bin/pnpm run build exited (1) 11:11:19.282 11:11:19.282 Tasks: 3 successful, 4 total 11:11:19.282 Cached: 2 cached, 4 total 11:11:19.282 Time: 25.802s 11:11:19.282 Summary: /vercel/path0/.turbo/runs/35gQ90r485zc91PzAzmsHyT5lLc.json 11:11:19.282 Failed: @dub/ui#build 11:11:19.282 11:11:19.290 ERROR run failed: command exited (1) 11:11:19.341 Error: Command "turbo run build" exited with 1

dipto-metaforktech avatar Nov 19 '25 05:11 dipto-metaforktech

ENG-1601

linear[bot] avatar Nov 19 '25 05:11 linear[bot]

Got the same error when trying to setup the project locally, following the local development guide.

The error comes from multiple files. I have the same TypeScript errors popping in my IDE, this is not a build-only issue.

rich-text-toolbar.tsx

This file has 4 type errors:

src/rich-text-area/rich-text-toolbar.tsx(56,50): error TS2551: Property 'toggleBold' does not exist on type 'ChainedCommands'. Did you mean 'toggleNode'?
src/rich-text-area/rich-text-toolbar.tsx(64,50): error TS2339: Property 'toggleItalic' does not exist on type 'ChainedCommands'.
src/rich-text-area/rich-text-toolbar.tsx(74,39): error TS2339: Property 'toggleHeading' does not exist on type 'ChainedCommands'.
src/rich-text-area/rich-text-toolbar.tsx(82,39): error TS2339: Property 'toggleHeading' does not exist on type 'ChainedCommands'.

https://github.com/dubinc/dub/blob/9f53e64ec314691f0d1614aa0906658ba4659590/packages/ui/src/rich-text-area/rich-text-toolbar.tsx#L51-L86

rich-text-provider.tsx

This file has only one type error:

src/rich-text-area/rich-text-provider.tsx(126,7): error TS2769: No overload matches this call.

It comes from the extensions defined, looks like an extension doesn't match the expected input from TipTap.

https://github.com/dubinc/dub/blob/9f53e64ec314691f0d1614aa0906658ba4659590/packages/ui/src/rich-text-area/rich-text-provider.tsx#L123-L131

TotomInc avatar Dec 22 '25 06:12 TotomInc

We just merged two PRs that upgrade Zod (v4) and the Tiptap packages. Can you try again locally and let me know if you still hit the error?

devkiran avatar Jan 08 '26 04:01 devkiran

Thanks for getting back @devkiran.

After pulling the recent commits from main, running pnpm i then pnpm -r --filter "./packages/**" build, I can confirm there aren't any error related to the build process.

TotomInc avatar Jan 08 '26 13:01 TotomInc