I installed mqtt globally on windows 10, but when i type "mqtt -v" getting the following error:
internal/modules/cjs/loader.js:960
throw err;
^
Require stack:
When you moved mqtt.js to ./bin, the reference to ./bin/pub and ./bin/sub was lost...
Same here on Mac, when I downgrade to 4.0.0 all works fine
How can I downgrade to 4.0.0.0 or install this specific release??
npm i [email protected]
Thanks a lot!!
Most helpful comment