Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MQTT.js dependencies #1858

Answered by robertsLando
es4m0n asked this question in Q&A
Discussion options

Hello everyone,

i m not a experienced develop and have a question to mqtt.js dependecies. I want to hoste a Website on my Raspberry Pi with a NGINX Server which should use a local mqtt.js installation for MQTT over Websockets because i cant use a CDN link due to the lack of Internet access.

My questions is, can i install just mqtt.js or do i have to install Node.js first.

Thank you advance!

You must be logged in to vote

You can simply download a release zip and just import on your html file one of the bundles available in dist folder https://github.com/mqttjs/MQTT.js/releases/tag/v5.5.5

Of course you should setup your nginx in order it to be able to serve that file from your local filesystem

Replies: 1 comment

Comment options

You can simply download a release zip and just import on your html file one of the bundles available in dist folder https://github.com/mqttjs/MQTT.js/releases/tag/v5.5.5

Of course you should setup your nginx in order it to be able to serve that file from your local filesystem

You must be logged in to vote
0 replies
Answer selected by robertsLando
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /