Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load config file. #24

Open
Destiny1231 opened this issue Jan 22, 2022 · 1 comment
Open

Could not load config file. #24

Destiny1231 opened this issue Jan 22, 2022 · 1 comment

Comments

@Destiny1231
Copy link

WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
Require stack:

  • /home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js
  • /home/pi/MagicMirror/js/app.js
  • /home/pi/MagicMirror/serveronly/index.js

sry for bad englich but i have this problem and can´t fix it.

Require stack:

  • /home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js
  • /home/pi/MagicMirror/js/app.js
  • /home/pi/MagicMirror/serveronly/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js:10:15)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/pi/MagicMirror/modules/MMM-ImagesPhotos/node_helper.js',
    '/home/pi/MagicMirror/js/app.js',
    '/home/pi/MagicMirror/serveronly/index.js'
    ]
@mickecamino
Copy link

Login to MagicMirror:
cd MagicMirror/modules/MMM-ImagesPhotos
Run
npm install request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants