Read the statement by Michael Teeuw here.
Help please!!
-
@innovation weird
ok, add
debug: true,to the module definition
and then donpm start >somefile
once mm comes up u can stop it and then we can look at somefile -
@sdetweil npm start >somefile
npm ERR! missing script: startnpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-03-26T16_26_09_848Z-debug.logYes, the program started then I ended it
-
@innovation from the magicmirror folder please
-
@sdetweil Yes it opened. Where is the somefile?
-
@innovation in the magicmirror folder
> means put all the terminal window content of the pgm into the file
(same as for windows) -
@sdetweil Nothing shows up in the terminal when I run in though
-
@innovation don’t understand, mm puts out messages
looks like this> magicmirror@2.14.0 start /home/sam/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [26.03.2021 11:17.39.334] [LOG] Starting MagicMirror: v2.14.0 [26.03.2021 11:17.39.338] [LOG] Loading config ... [26.03.2021 11:17.39.343] [LOG] Loading module helpers ... [26.03.2021 11:17.39.345] [LOG] No helper found for module: alert. [26.03.2021 11:17.39.483] [LOG] Initializing new module helper ... [26.03.2021 11:17.39.483] [LOG] Module helper loaded: updatenotification [26.03.2021 11:17.39.484] [LOG] No helper found for module: clock. [26.03.2021 11:17.39.843] [LOG] Initializing new module helper ... [26.03.2021 11:17.39.843] [LOG] Module helper loaded: calendar [26.03.2021 11:17.39.844] [LOG] No helper found for module: currentweather. [26.03.2021 11:17.39.845] [LOG] No helper found for module: weatherforecast. [26.03.2021 11:17.39.865] [LOG] Initializing new module helper ... [26.03.2021 11:17.39.866] [LOG] Module helper loaded: newsfeed [26.03.2021 11:17.39.867] [LOG] init module helper undefinedundefined [26.03.2021 11:17.39.868] [LOG] Module helper loaded: uploadPics
-
@innovation if u do the > symbol, then ALL the output goes to the file
-
@sdetweil > magicmirror@2.13.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
[2021-03-26 22:24:56.461] [LOG] Starting MagicMirror: v2.13.0
[2021-03-26 22:24:56.519] [LOG] Loading config …
[2021-03-26 22:24:56.541] [LOG] Loading module helpers …
[2021-03-26 22:24:56.546] [LOG] No helper found for module: compliments.
[2021-03-26 22:24:56.556] [LOG] No helper found for module: MMM-CSSBackgrounds.
[2021-03-26 22:24:56.586] [LOG] Module helper loaded: uploadPics
[2021-03-26 22:24:56.588] [LOG] All module helpers loaded.
[2021-03-26 22:24:57.103] [LOG] Starting server on port 8080 …
[2021-03-26 22:24:57.164] [LOG] Server started …
[2021-03-26 22:24:57.166] [LOG] Connecting socket for: uploadPics
[2021-03-26 22:24:57.168] [LOG] Sockets connected & modules started …
[2021-03-26 22:24:58.047] [LOG] Launching application.
^C[2021-03-26 22:26:14.188] [LOG] Shutting down server… -
@innovation did u add debug: true to the uploadPics module config section
{ module:"uploadPics", disabled:false, position:"bottom_left", config:{ dest : '../modules/MMM-ImagesPhotos/uploads', debug:true } },