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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login