Hi, I was developing a panel with Reactjs, it was working fine until I upgraded from 6.1.6 to 6.2.1. Since then I had errors during the building process (with webpack) and I didn’t find any solution.
ERROR in /var/lib/grafana/plugins/new-workhsop-panel/workshop-panel/src/module.tsx
./module.tsx
[tsl] ERROR in /var/lib/grafana/plugins/new-workhsop-panel/workshop-panel/src/module.tsx(20,39)
TS2339: Property ‘panelData’ does not exist on type ‘Readonly<{ children?: ReactNode; }> & Readonly<PanelProps>’.
ERROR in /var/lib/grafana/plugins/new-workhsop-panel/workshop-panel/src/module.tsx
./module.tsx
[tsl] ERROR in /var/lib/grafana/plugins/new-workhsop-panel/workshop-panel/src/module.tsx(30,10)
TS2322: Type ‘{ width: number; height: number; unit: string; value: any; thresholds: { index: number; value: number; color: string; }; }’ is not assignable to type ‘IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly<{ children?: ReactNode; }> & Readonly, “children”> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<…>, “width” | … 7 more … | “theme”>> & Partial<…>’.
Property ‘unit’ does not exist on type ‘IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly<{ children?: ReactNode; }> & Readonly, “children”> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<…>, “width” | … 7 more … | “theme”>> & Partial<…>’.
error Command failed with exit code 2.
Hi, I’m experiencing what @execcr experienced and mentioned above. do you know where I can find the UPDATED workshop-panel example from? those links out there are all returning 404