grafana / mqtt-datasource

MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install mqtt-grafana-plugin on Ubuntu 20.04 LTS

tuvok81 opened this issue · comments

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?

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"
}
}