-
Notifications
You must be signed in to change notification settings - Fork 148
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
UnhandledPromiseRejectionWarning #87
Comments
me too |
I to get the same error... |
I have updated MM and now have the same warning. However everything still works currently, doesn't it? I will see if I have time to track down the problem. Unfortunately it shows no line numbers, so the time I had today was not enough to fix it. :( |
Tracked with MMM-Logging. I will see if I can fix in my existing update. 2019-01-04T13:32:58 <error> (node:5229) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'refs' of undefined
at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:276:53
at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/git.js:780:18
at Git.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/git.js:820:18)
at done (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/git.js:1432:21)
at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/git.js:1457:16 (process/warning.js:18 writeOut)
2019-01-04T13:32:58 <error> (node:5229) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (process/warning.js:18 writeOut)
2019-01-04T13:32:58 <error> (node:5229) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (process/warning.js:18 writeOut) |
It's this line: |
Hi, Same issue here, MMM-Logging logs
Any fix on your side guys? |
Hi,
getting below error message with every loading Macig Miror on pm2 logs.
Error messages are disappear when module are disabled.
1|mm | (node:2597) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property ‘refs’ of undefined
1|mm | (node:2597) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
1|mm | (node:2597) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property ‘refs’ of undefined
1|mm | (node:2597) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property ‘refs’ of undefined
The text was updated successfully, but these errors were encountered: