-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to resolve module url
from `node_modules/mqtt/lib/connect/index.js
#1020
Comments
got it, had to change import from 'mqtt/dist/mqtt' instead of ''mqtt' |
It's a way, but it loses the type prompt. Is there a better way? |
Just use this package instead which is build version of mqtt 4.3.7 |
Didn't work out for me since I'm using typescript and the |
It works but have same issue, plus a suggestion that needs a declaration .d.ts from VSCode. |
solved here. hope it helps. |
Is this the library issue, do I have to install any other module?
The text was updated successfully, but these errors were encountered: