Hi everybody, I’m new here, as long as I arrived trying to set up a photo frame with google photos.
I have a Raspberry PI trying to set it up, but when I reach the point to Generate Token, I find following error, any help?:
pi-photoframe@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $ node generate_token.js
[GPHOTOS:CORE] TypeError: Cannot read properties of undefined (reading '0')
/home/pi-photoframe/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:133
throw e
^
TypeError: Cannot read properties of undefined (reading '0')
at new Auth (/home/pi-photoframe/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:35:91)
at GPhotos.onAuthReady (/home/pi-photoframe/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:130:14)
at GPhotos.generateToken (/home/pi-photoframe/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:141:10)
at Object.<anonymous> (/home/pi-photoframe/MagicMirror/modules/MMM-GooglePhotos/generate_token.js:10:9)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
at Module.load (node:internal/modules/cjs/loader:1043:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47