Read the statement by Michael Teeuw here.
Are you tired of editing config.js, or have trouble doing it, see my new module
-
@mumblebaj yes but localhost will only work w browser inside same machine as mm
-
@mumblebaj typically dhcp addresses now register the hostname in the router DNS server.
-
@sdetweil I am using my cell phone connected to my wifi network. When I scan the code it sends me to
http://raspberrypi:8080/modules/MMM-Config/review
When I replace “raspberrypi” with the actual ip of the pi, it works.
-
@josh45631 yes
I ‘assumed’ that name will work… doesn’t…will fix, thx
-
@josh45631 @mumblebaj do a git pull in the module folder, and then restart mm and try the qr image again
-
When I try to use your MMM-config I get this error…
pi@raspberrypi:~ $ ~/MagicMirror/modules
bash: /home/pi/MagicMirror/modules: No such file or directory -
@louise explain a little more… where are u typing that info ?
where is your MagicMirror installed?
read the link in my signature How to add modules (I didn’t write it)
-
@sdetweil I am soooooo new at this. I had it working once by someone else, card got corrupted and the person building it no longer available. So I’m trying to rebuild on my own. Not a coder, programmer or anything else.
I’ve tried the modules, got the calendar and weather in the config.js but it doesn’t run.
So what do you need me to show you?
-
@sdetweil This is what I get when trying to run Magic Mirror from npm start
JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module ‘/home/pi/MagicMirror/js/…/modules/default/defaultmodules’
Require stack:- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/pi/MagicMirror/js/app.js:16:24)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
-
@louise so, read the link… it will help A LOT…
from a command line, (terminal window) you need to change folders
cd new_folder_name
just like on windows
(except here the names are case sensitive)when I said in doc
Clone this repo into ~/MagicMirror/modules directory.
that means change directory (cd command)
cd ~/MagicMirror/modules
u left off the cd
but the error implies you have not installed MagicMirror yet…
I have a script for that
see
https://github.com/sdetweil/MagicMirror_scriptsits just a cut/paste of one line