Read the statement by Michael Teeuw here.
MMM-GoogleShoppingList
-
@piluke
I think there are 8 items in your shopping list, right? If so, there could be front-end error (even caused by my module or others).
Can you trynpm start dev
insteadpm2
? (stoppm2 stop mm
then executenpm start dev
in your MagicMirror directory) Then you can see the dev panel on MM screen. And if there be any suspicious front-end error, the red text will be shown there.dev-panel looks like this (the right side);
-
@sean
I didn’t know this working mode of MM, thanks for your answer.
It’s right my list has 8 items.
I disable all module except clock and start “dev” mode.
There is only one red error but it’s from this module:MMM-GoogleShoppingList.js:70 Uncaught TypeError: Cannot read property '1' of null at items.forEach.item (MMM-GoogleShoppingList.js:70) at Array.forEach (<anonymous>) at Class.drawItems (MMM-GoogleShoppingList.js:54) at Class.socketNotificationReceived (MMM-GoogleShoppingList.js:46) at module.js:246 at r.<anonymous> (socketclient.js:25) at r.emit (index.js:133) at r.onevent (socket.js:270) at r.MMSocket.self.socket.onevent (socketclient.js:19) at r.onpacket (socket.js:228)
After few minutes the same error came again…
-
Thanks for reply. Would you send me a mail address? Mine is
eouia0819@gmail.com
. I’ll send a test file to catch what is wrong. (But here is late night, so I’ll send you 10 hours later) -
I become this Error…
[GSL] Trying to login
(node:17281) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Evaluation failed:
TypeError: Cannot read property ‘click’ of null
at puppeteer_evaluation_script:2:44
(node:17281) [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. -
@sebi76
Google hasn’t released its official API for ShoppingList yet. My approach is screen scrapping with Puppeteer. Most of case it works well. My module would login your ShoppingList homepage and surf for getting information in hidden browser.
But by some unknown reason, Someone might see DIFFERENT PAGE with others with same URL. Only Google knows why and what. In that case, my module doesn’t know WHAT IS LOGIN BUTTON and other things. I’ve already known that issue but there is no way to solve it.
Maybe waiting official API release is a better solution. -
Does this module work today?
-
@valid8r
For lucky someone it works and not for unlucky someone. At least for me it works. Sorry. -
@Sean Ok, thanks, I’ll give it a try to see.
-
Hi @Sean is there any news for this module?
Does it work now?Thank you very much.
-
@Egnos
No, sorry. It is out of my work.