grafana / mqtt-datasource

MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.
Apache License 2.0
168 stars 49 forks source link

Official Grafana container: Cannot add data source (An unexpected error happened: Minified React error #130) #79

Open sdettmer opened 1 year ago

sdettmer commented 1 year ago

Hi,

strictly following the tutorial I installed grafana 8.4.5. I tried to install the MQTT Plugin. As the page suggested, I installed it via ZIP file, because grafana-cli plugins list-remote did not find it. When I try to add a data source, the following error gets displayed:

An unexpected error happened
DetailsError: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    at div
    at div
    at Vl (http://localhost:3000/public/build/5893.0cedc4c919aff84ce58c.js:2966:306)
    at div
    at Hl (http://localhost:3000/public/build/5893.0cedc4c919aff84ce58c.js:2978:63)
    at fieldset
    at Ed (http://localhost:3000/public/build/5893.0cedc4c919aff84ce58c.js:3258:966)
    at eval (http://localhost:3000/public/plugins/grafana-mqtt-datasource/module.js:1:3304)

I think this message is incorrect. It should be fixed to match the issue, for example:

A broken dependency error happened:
The plugin "grafana-mqtt-datasource" (version 1.0.0-beta2) is not compatible with this Grafana version (8.4.5): at least version 9.1.0 is needed.