Read the statement by Michael Teeuw here.
Keep having same error
-
-
@sdetweil you replied to the topic you deleted
-
find the message
-
get the name of the missing library (???)
-
look in the module folder for package.json
4 if it does NOT exist, create it
w the
npm init -y
command -
npm install ??? (from step 2)
-
-
Hahaha sorry for the inconvinience! In the folder *MMM0BMW-OW’ there is a ‘package.json’ file. But at step 2 and 4 I really don’t know wich library is missing.
-
@svencarree see the messages u posted to start this topic. just before either indent is the message you are looking for
-
Thanks for the time and patience! But I’m still not finding it but I’m a real newbie…
@svencarree said in Keep having same error:
20.11.2022 19:53.11.506] [ERROR] App threw an error during load
[20.11.2022 19:53.11.509] [ERROR] Error: Cannot find module ‘request’
Require stack:/home/svencarree/MagicMirror/modules/MMM-BMW-OW/node_helper.js
/home/svencarree/MagicMirror/js/app.js
/home/svencarree/MagicMirror/js/electron.js
/home/svencarree/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._resolveFilename (/home/svencarree/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/svencarree/MagicMirror/modules/MMM-BMW-OW/node_helper.js:9:17)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1173:10)
[20.11.2022 19:53.11.512] [ERROR] Whoops! There was an uncaught exception…
[20.11.2022 19:53.11.517] [ERROR] Error: Cannot find module ‘request’
Require stack:
/home/svencarree/MagicMirror/modules/MMM-BMW-OW/node_helper.js
/home/svencarree/MagicMirror/js/app.js
/home/svencarree/MagicMirror/js/electron.js
/home/svencarree/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._resolveFilename (/home/svencarree/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/svencarree/MagicMirror/modules/MMM-BMW-OW/node_helper.js:9:17)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1173:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/svencarree/MagicMirror/modules/MMM-BMW-OW/node_helper.js’,
‘/home/svencarree/MagicMirror/js/app.js’,
‘/home/svencarree/MagicMirror/js/electron.js’,
‘/home/svencarree/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
undefinThis looks for me as the report of the error. But i’m not seeing wich library I should install under step 4 with npm install…
-
@svencarree said in Keep having same error:
Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’