Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ERROR in Entry module not found: Error: Can't resolve '/static/js/src/stats/UserArtists.tsx' in '/code'
type_checker_1 | static/js/src/stats/BarDualTone.tsx(4,10): error TS2305: Module '"@nivo/legends"' has no exported member 'BoxLegendSvg'.
type_checker_1 | static/js/src/stats/BarDualTone.tsx(194,7): error TS2769: No overload matches this call.
type_checker_1 | Overload 1 of 2, '(props: Readonly<BarSvgProps>): ResponsiveBar', gave the following error.
type_checker_1 | Type '{ dataFrom: string; data: { id: string; label: string; color: string; }[]; anchor: string; direction: string; itemHeight: number; translateY: number; symbolSize: number; itemWidth: number; }[]' is not assignable to type '({ dataFrom: "keys" | "indexes"; } & LegendProps)[]'.
type_checker_1 | Type '{ dataFrom: string; data: { id: string; label: string; color: string; }[]; anchor: string; direction: string; itemHeight: number; translateY: number; symbolSize: number; itemWidth: number; }' is not assignable to type '{ dataFrom: "keys" | "indexes"; } & LegendProps'.
type_checker_1 | Type '{ dataFrom: string; data: { id: string; label: string; color: string; }[]; anchor: string; direction: string; itemHeight: number; translateY: number; symbolSize: number; itemWidth: number; }' is not assignable to type '{ dataFrom: "keys" | "indexes"; }'.
type_checker_1 | Types of property 'dataFrom' are incompatible.
type_checker_1 | Type 'string' is not assignable to type '"keys" | "indexes"'.
type_checker_1 | Overload 2 of 2, '(props: BarSvgProps, context?: any): ResponsiveBar', gave the following error.
type_checker_1 | Type '{ dataFrom: string; data: { id: string; label: string; color: string; }[]; anchor: string; direction: string; itemHeight: number; translateY: number; symbolSize: number; itemWidth: number; }[]' is not assignable to type '({ dataFrom: "keys" | "indexes"; } & LegendProps)[]'.
type_checker_1 | Type '{ dataFrom: string; data: { id: string; label: string; color: string; }[]; anchor: string; direction: string; itemHeight: number; translateY: number; symbolSize: number; itemWidth: number; }' is not assignable to type '{ dataFrom: "keys" | "indexes"; } & LegendProps'.
type_checker_1 | Type '{ dataFrom: string; data: { id: string; label: string; color: string; }[]; anchor: string; direction: string; itemHeight: number; translateY: number; symbolSize: number; itemWidth: number; }' is not assignable to type '{ dataFrom: "keys" | "indexes"; }'.
type_checker_1 | Types of property 'dataFrom' are incompatible.
type_checker_1 | Type 'string' is not assignable to type '"keys" | "indexes"'.
type_checker_1 |
type_checker_1 | 8:38:38 AM - Found 2 errors. Watching for file changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.