Closed LilSlippinJimmy closed 2 years ago
Getting the following error when running node generate_token.js. I'm running magicmirror 2 in a docker container under Unraid
# node generate_token.js internal/modules/cjs/loader.js:818 throw err; ^ Error: Cannot find module 'open' Require stack: - /magicmirror2/modules/MMM-GooglePhotos/GPhotos.js - /magicmirror2/modules/MMM-GooglePhotos/generate_token.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (/magicmirror2/modules/MMM-GooglePhotos/GPhotos.js:5:13) 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 Module.require (internal/modules/cjs/loader.js:887:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/magicmirror2/modules/MMM-GooglePhotos/GPhotos.js', '/magicmirror2/modules/MMM-GooglePhotos/generate_token.js' ] }
Getting the following error when running node generate_token.js. I'm running magicmirror 2 in a docker container under Unraid