MMM-GoogleTasks icon indicating copy to clipboard operation
MMM-GoogleTasks copied to clipboard

Tasks not appearing

Open andremichi opened this issue 6 years ago • 4 comments

I installed today the module and it's not displaying any task from the lists. Just got this JS exception:

    at Function.keys (<anonymous>)
    at Class.getDom (MMM-GoogleTasks.js:87)
    at main.js:110
    at new Promise (<anonymous>)
    at updateDom (main.js:109)
    at main.js:53
    at Array.forEach (<anonymous>)
    at createDomObjects (main.js:24)
    at Object.modulesStarted (main.js:471)
    at startModules (loader.js:59)```

Code:
```		 var numTasks = Object.keys(this.tasks).length;

I'm not JS expert, or begginer. But it's not returning anything. =)

andremichi avatar Sep 10 '18 19:09 andremichi

Possible fix available in #5

jayked avatar May 28 '19 13:05 jayked

How i can see the exception, mi module don't show any task, but I have the correct ID and the api activated

imorenocif avatar Jun 06 '19 16:06 imorenocif

@imorenocif As you can see in my earlier comment you can possibly find the fix in #5

jayked avatar Jun 11 '19 14:06 jayked

Having the same problem. Fresh install, no other modules installed. Been trying to get this module working for over 4 hours now. really disappointed as I actually really need this in order to maintain an acceptable quality of life...

TypeError: Cannot convert undefined or null to object at Function.keys () at Class.getDom (MMM-GoogleTasks.js:87:26) at main.js:113:35 at new Promise () at updateDom (main.js:111:10) at main.js:53:31 at Array.forEach () at createDomObjects (main.js:20:11) at Object.modulesStarted (main.js:504:4) at startModules (loader.js:55:6)

MMM-GoogleTasks.js:87

   Uncaught (in promise) TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Class.getDom (MMM-GoogleTasks.js:87:26)
at main.js:113:35
at new Promise (<anonymous>)
at updateDom (main.js:111:10)
at main.js:53:31
at Array.forEach (<anonymous>)
at createDomObjects (main.js:20:11)
at Object.modulesStarted (main.js:504:4)
at startModules (loader.js:55:6)

RickSanchezC136 avatar Jul 30 '22 01:07 RickSanchezC136