Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tuvok81 opened this issue Nov 13, 2022 · 1 comment
Open

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

tuvok81 opened this issue Nov 13, 2022 · 1 comment

Comments

@tuvok81
Copy link

tuvok81 commented Nov 13, 2022

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
Copy link
Author

tuvok81 commented Nov 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant