Read the statement by Michael Teeuw here.
Update notification not working
-
I am not sure if I am the only one so I thought it would be better to open a topic here instead.
The problem is with the default updatenotification. After doing quite some testing I found out that there is quite a big problem.
In thenode_helper.js
functionconfigureModules
there is a loop that goes through all the modules that aren’t default ones. In this loop there is a variable made namedgit
and it’s functiongetRemotes
is called with some kind of callback function. The problem here is that that callback function is never called. This results in thesimpleGits
array to be empty and then thepreformFetch
doesn’t have much to work with.
Lastly thepreformFetch
isn’t declared properly inside the object. It currently ispreformFetch() {//whatever},
and should bepreformFetch: function () {//whatever}
.
Is anyone able to reproduce this problem or is it just me (windows 10)?TLDR;
updatenotification
>node_helper.js
> lines33-44
broken, someone fix? -
@tosti007 if you want and have the time you can compare it with my mobile module, this has pretty much the same functionality and works for me. Maybe you’ll find the issue.
-
@strawberry-3.141 looked through your post and github page, to which module are you referring? (link? :) I had struggles finding it)
-
-
@strawberry-3.141 thank you! I will check it out :)
-
@strawberry-3.141 said in Update notification not working:
@tosti007 it starts here https://github.com/fewieden/MMM-Mobile/blob/c0739ceb43f303af02886abcd560033acbbba4c4/node_helper.js#L67
what is different MMM-Mobile VS phone_notification
-
@nobita MMM-Mobile is for his app he is making