I'm having issues using node generate_token_v2.js and node generate_token.js using MM running on Docker. When I run node generate_token.js, I get the URL that I can paste on the browser to authorize, but when I paste the code in "Return here with your code." I get:
/opt/magic_mirror/modules/MMM-GooglePhotos/GPhotos.js:104
throw new Error("Error getting tokens:", error);
^
Error: Error getting tokens:
at processTokens (/opt/magic_mirror/modules/MMM-GooglePhotos/GPhotos.js:104:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
and when I run node generate_token_v2.js, it just hangs forever and nothing is return.
Any ideas?
I'm having issues using node generate_token_v2.js and node generate_token.js using MM running on Docker. When I run node generate_token.js, I get the URL that I can paste on the browser to authorize, but when I paste the code in "Return here with your code." I get:
/opt/magic_mirror/modules/MMM-GooglePhotos/GPhotos.js:104
throw new Error("Error getting tokens:", error);
^
Error: Error getting tokens:
at processTokens (/opt/magic_mirror/modules/MMM-GooglePhotos/GPhotos.js:104:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)