You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@589587cc6180:/src# yarn build
yarn run v1.22.15
warning package.json: No license field
$ vue-tsc --noEmit && vite build
node_modules/@types/react/index.d.ts:120:51 - error TS2344: Type 'C' does not satisfy the constraint 'ElementType<any>'.
Type 'keyof IntrinsicElements | ForwardRefExoticComponent<any> | (new (props: any) => Component<any, {}, any>) | ((props: any, context?: any) => ReactElement<...> | null)' is not assignable to type 'ElementType<any>'.
Type 'number' is not assignable to type 'ElementType<any>'.
Type 'C' is not assignable to type 'FunctionComponent<any>'.
Type 'keyof IntrinsicElements | ForwardRefExoticComponent<any> | (new (props: any) => Component<any, {}, any>) | ((props: any, context?: any) => ReactElement<...> | null)' is not assignable to type 'FunctionComponent<any>'.
Type 'string' is not assignable to type 'FunctionComponent<any>'.
120 "ref" extends keyof ComponentPropsWithRef<C>
~
node_modules/@types/react/index.d.ts:121:49 - error TS2344: Type 'C' does not satisfy the constraint 'ElementType<any>'.
Type 'C' is not assignable to type 'FunctionComponent<any>'.
121 ? NonNullable<ComponentPropsWithRef<C>["ref"]> extends Ref<
~
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1497:15 - error TS2320: Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>'.
Named property 'key' of types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>' are not identical.
1497 interface Element extends VNode {}
~~~~~~~
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1497:15 - error TS2320: Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>'.
Named property 'props' of types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>' are not identical.
1497 interface Element extends VNode {}
~~~~~~~
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1497:15 - error TS2320: Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>'.
Named property 'type' of types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>' are not identical.
1497 interface Element extends VNode {}
~~~~~~~
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1504:15 - error TS2430: Interface 'IntrinsicElements' incorrectly extends interface 'NativeElements'.
Types of property 'a' are incompatible.
Type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>' is not assignable to type 'ElementAttrs<AnchorHTMLAttributes>'.
Type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>' is not assignable to type 'AnchorHTMLAttributes'.
Types of property 'style' are incompatible.
Type 'CSSProperties | undefined' is not assignable to type 'StyleValue | undefined'.
Type 'CSSProperties' is not assignable to type 'StyleValue | undefined'.
Type 'Properties<string | number, string & {}>' is not assignable to type 'CSSProperties'.
Types of property 'columnCount' are incompatible.
Type 'ColumnCount | undefined' is not assignable to type 'ColumnCountProperty | undefined'.
Type 'string & {}' is not assignable to type 'ColumnCountProperty | undefined'.
Type 'string & {}' is not assignable to type '"unset"'.
1504 interface IntrinsicElements extends NativeElements {
~~~~~~~~~~~~~~~~~
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1509:15 - error TS2320: Interface 'IntrinsicAttributes' cannot simultaneously extend types 'ReservedProps' and 'Attributes'.
Named property 'key' of types 'ReservedProps' and 'Attributes' are not identical.
1509 interface IntrinsicAttributes extends ReservedProps {}
~~~~~~~~~~~~~~~~~~~
Found 7 errors.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
System
Note: I'm just working on a clean container, podman run -it --rm node bash.
Describe the bug
On a brand new Vue project, installing storybook messes up dependencies in a way that neither the Vue project, nor SB build.
To Reproduce
Output
System
Note: I'm just working on a clean container,
podman run -it --rm node bash
.Additional context
Working on an empty container with a clean project, there's really nothing setup-specific here.
The text was updated successfully, but these errors were encountered: