Solved Cannot create token for googlephotos
-
Cannot create token for googlephotos.
This is the error I receive.Error: Cannot find module ‘./lib/GooglePhotosLib.js’
Require stack:- /home/pi/MagicMirror/modules/EXT-GooglePhotos/installer/auth_GPhotos.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/EXT-GooglePhotos/installer/auth_GPhotos.js:2:12)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/EXT-GooglePhotos/installer/auth_GPhotos.js’
]
}
Done.
pi@raspberrypi:~/MagicMirror/modules/EXT-GooglePhotos $ - /home/pi/MagicMirror/modules/EXT-GooglePhotos/installer/auth_GPhotos.js
-
sorry, I forget a
.
in library pathin all case, it’s corrected!
just apply update with
cd ~/MagicMirror/modules/EXT-GooglePhotos npm run update
thanks for this report !
-
Thank you, works perfectly now. You may close this topic.
-
Happy use!
-
bugsounet