"export 'connect' (imported as 'mqtt') was not found in 'mqtt/dist/mqtt.min' #1799
Answered
by
robertsLando
jianjun-Web
asked this question in
Q&A
-
Why is this a problem? |
Beta Was this translation helpful? Give feedback.
Answered by
robertsLando
Feb 27, 2024
Replies: 1 comment 3 replies
-
Never mind the address, if use import mqtt from "mqtt";will have error |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's impossible because I'm using the latest version in browser in many projects and it's working.
Just install latest 5.3.6 and use this:
Also consider using NodeJS 16/18 at least as NodeJS 12 has reached and of life on April 2022.