Skip to content
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

Cannot read property '0' of undefined #2

Open
alberttwong opened this issue Jun 9, 2017 · 6 comments
Open

Cannot read property '0' of undefined #2

alberttwong opened this issue Jun 9, 2017 · 6 comments

Comments

@alberttwong
Copy link
Contributor

0|mm       | TypeError: Cannot read property '0' of undefined
0|mm       |     at /home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_helper.js:33:33
0|mm       |     at Array.forEach (native)
0|mm       |     at child.<anonymous> (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_helper.js:32:13)
0|mm       |     at child.invoke (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_modules/wunderbits.core/public/WBDeferred.js:69:40)
0|mm       |     at child.trigger (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_modules/wunderbits.core/public/WBDeferred.js:48:12)
0|mm       |     at child.complete [as resolve] (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_modules/wunderbits.core/public/WBDeferred.js:126:10)
0|mm       |     at child.<anonymous> (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_modules/wunderlist/public/io/IO.js:200:18)
0|mm       |     at child.invoke (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_modules/wunderbits.core/public/WBDeferred.js:69:40)
0|mm       |     at child.trigger (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_modules/wunderbits.core/public/WBDeferred.js:48:12)
0|mm       |     at child.complete [as resolve] (/home/pi/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_modules/wunderbits.core/public/WBDeferred.js:126:10)
@alberttwong
Copy link
Contributor Author

here is my config.js

                {
                        module: "MMM-Wunderlist-Enhanced",
                        position: "top_right",
                        header: "Wunderlist",
                        config: {
                                accessToken: "5f6f8b5972470536222ac5f0ab03230bbbcc5279f2aaa3c90f66db780bb1",
                                clientID: "da50f5c13e5c25f87c51",
                                lists: ["Inbox","House to do","To do before leaving"]
                        }
                },

@davericher
Copy link
Member

Hey, sorry for the delay. Will take a look tomorrow!

@PatrickGlatz
Copy link

PatrickGlatz commented Dec 19, 2017

I do have the EXACT same problem. Somewhen 6 months ago everything was working. Would you mind to have a look into this?

@flatiron23
Copy link

Hi, are there any updates about this issue? I am facing the same problem. Thank you in advance.

@sprestel
Copy link

+1

@lastcoolnameleft
Copy link

I don't know if this is the true fix for the problem; however, I edited the file ~/MagicMirror/modules/MMM-Wunderlist-Enhanced/node_helper.js and went to line 32 and removed the [0] at the end of the line. So, now it looks like:

    ret[user.id] = user.name

The error has gone away for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants