Read the statement by Michael Teeuw here.
GooglePhotos
-
good evening
after the execution of node generate_token . here is the error message thank you for your help.
[GPHOTOS:CORE] TypeError: Cannot read property ‘0’ of undefined
/home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:133
throw e
^TypeError: Cannot read property ‘0’ of undefined
at new Auth (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:35:91)
at GPhotos.onAuthReady (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:130:14)
at GPhotos.generateToken (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:141:10)
at Object. (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/generate_token.js:10:9)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 -
@pat59 I believe that means u picked the wrong app type in the credentials step.
-
@sdetweil Hello thank you
this supposes erasing everything and redoing the installation of the GooglePhotos module or this is due to the installation of the operating system cordially -
@pat59 no, it’s the Google developers console credentials setup. nothing changes on the pi, except the new downloaded credentials file