A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM Google Photos
-
Any thoughts on this error message setting up MMM-Google-Photos. What is the ‘moment’ module ?
/magicmirror/mounts/modules/MMM-GooglePhotos $ node generate_token
node:internal/modules/cjs/loader:1080
throw err;
^Error: Cannot find module ‘moment’
Require stack:- /home/vijay/magicmirror/mounts/modules/MMM-GooglePhotos/GPhotos.js
- /home/vijay/magicmirror/mounts/modules/MMM-GooglePhotos/generate_token.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/vijay/magicmirror/mounts/modules/MMM-GooglePhotos/GPhotos.js:12:16)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/vijay/magicmirror/mounts/modules/MMM-GooglePhotos/GPhotos.js’,
‘/home/vijay/magicmirror/mounts/modules/MMM-GooglePhotos/generate_token.js’
]
}
Node.js v18.16.1
-
Thanks!
Something about the folder from where I issued the command. I think I was doing it from the wrong. Got it to work! Thank @sdetweil
-
@vijayb sounds like you didn’t do the npm install in the module folder after git clone
-
Thanks!
Something about the folder from where I issued the command. I think I was doing it from the wrong. Got it to work! Thank @sdetweil