grafana / mqtt-datasource

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

Install mqtt-grafana-plugin on Ubuntu 20.04 LTS #52

Open tuvok81 opened 2 years ago

tuvok81 commented 2 years ago

Hello, i have a Problem with compile and install the mqtt Plugin for grafana

https://ibb.co/JRx56TJ https://ibb.co/hy72PMH

can anybody help me with that?

tuvok81 commented 2 years ago

ok i have a workaround for the problem with the ssl https://ibb.co/RyPDCQJ

i have move the original package.json to package.json.old and create a new package.json and i have fill this with this entrys

{ "name": "grafana-mqtt-datasource", "version": "0.0.1-dev", "description": "MQTT Datasource Plugin", "scripts": { "build": "export NODE_OPTIONS=--openssl-legacy-provider; rm -rf dist && grafana-toolkit plugin:build && mage build:backend", "test": "grafana-toolkit plugin:test && mage test", "dev": "grafana-toolkit plugin:dev", "watch": "grafana-toolkit plugin:dev --watch", "sign": "grafana-toolkit plugin:sign", "start": "yarn watch" }, "author": "Grafana Labs", "license": "Apache-2.0", "devDependencies": { "@grafana/data": "next", "@grafana/runtime": "next", "@grafana/toolkit": "next", "@grafana/ui": "next", "@types/lodash": "latest", "aedes": "^0.45.0" }, "resolutions": { "rxjs": "6.6.3" }, "engines": { "node": ">=14" } }