-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error 'MODULE_NOT_FOUND' #1106
Comments
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?? |
|
Thanks a lot!! |
This is an automated message to let you know that this issue has If this issue is still important, you can simply comment with a Thank you for your contribution. |
This issue was automatically closed due to inactivity. |
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:
at Function.Module._resolveFilename (internal/modules/cjs/loader.
at Function.Module.load (internal/modules/cjs/loader.js:840:27)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (C:\Users\DavidMG\AppData\Roaming\npm\node
at Object.Module._extensions..js (internal/modules/cjs/loader.js:
/run_main.js:74:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\DavidMG\AppData\Roaming\npm\node_modules\mqtt\bin\mq
tt.js'
]
When you moved mqtt.js to ./bin, the reference to ./bin/pub and ./bin/sub was lost...
The text was updated successfully, but these errors were encountered: