Skip to content

Instantly share code, notes, and snippets.

@vansika
Created July 27, 2020 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vansika/4ee8628a0991767a0bb5b79d9d732e03 to your computer and use it in GitHub Desktop.
Save vansika/4ee8628a0991767a0bb5b79d9d732e03 to your computer and use it in GitHub Desktop.
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