grafana/grafana-starter-datasource

Can't run template: LegacyForms is undefined

datto-aparrill opened this issue · 3 comments

I've checked out master (9670d12), built it with yarn and yarn dev, and scp'ed it over to the grafana v6.7.3 plugins directory. Navigating to the plugin options or trying to add a datasource using the plugin results in the following error in the console:

Failed to import plugin module Error: "_grafana_ui__WEBPACK_IMPORTED_MODULE_2__.LegacyForms is undefined
  Evaluating http://dlt-monitoring-grafana-1.datto.lan/public/plugins/myorgid-simple-datasource/module.js
  Loading plugins/myorgid-simple-datasource/module"

you must run the plugin with grafana v7.0.0

Isn't v7 still in beta? Is there a commit that works with a stable version?

I also have an older plugin that uses the same {{LegacyForms}} object and fails with a similar error, so its not like this was added in v7... is it?

the developing doc and demo of grafana plugin is really tricky
the demo run with v7 is ok