marcusolsson / grafana-gantt-panel

A panel plugin for Grafana to visualize Gantt charts.
Apache License 2.0
26 stars 12 forks source link

Object(...) is not a function ERROR #89

Closed gabr1elt-arc closed 2 years ago

gabr1elt-arc commented 2 years ago

This error appears on any datasource I've tried (Azure Monitor, CSV TestData DB).

No graph is displayed.

Running on grafana latest container (on cloud and local).

No idea what the issue refers to. Please help.

dmncr commented 2 years ago

Experiencing the same issue with the 9.0.0-beta2 and 9.0.0-beta3 containers (works fine with 9.0.0-beta1).

PabblRepos commented 2 years ago

Same with Grafana 9.0.0 release

gabr1elt-arc commented 2 years ago

Tested:

gantt plugin 0.8.0 grafana/grafana-oss image on Azure web app for containers

jammiemil commented 2 years ago

Also having this issue in 9.0.1 :(

Console:

TypeError: Object(...) is not a function
    at eval (helpers.ts:11:36)
    at eval (GanttChart.tsx:346:17)
    at Array.map (<anonymous>)
    at un (GanttChart.tsx:301:37)
    at ra (react-dom.production.min.js:157:137)
    at Zs (react-dom.production.min.js:267:460)
    at Ou (react-dom.production.min.js:250:347)
    at Eu (react-dom.production.min.js:250:278)
    at ku (react-dom.production.min.js:250:138)
    at vu (react-dom.production.min.js:243:163)
as @ react-dom.production.min.js:216
marcusolsson commented 2 years ago

Thanks for the heads-up! I'll look into this. Most likely an API change in Grafana 9.0. Hopefully, I won't need to bump the required version.