Read the statement by Michael Teeuw here.
MMM Remote Controle - starting issus
-
@sdetweil said in MMM Remote Controle - starting issus:
npm start dev
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js
-
@ernst-jan don’t understand your reply.
From the MagicMirror folder do
npm start dev
Then as per my previous instructions
-
Starting MagicMirror: v2.6.0
Loading config …
WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
Loading module helpers …
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: helloworld.
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Sockets connected & modules started …
Whoops! There was an uncaught exception…
{ Error: listen EADDRINUSE 127.0.0.1:8080
at Object._errnoException (util.js:1024:11)
at _exceptionWithHostPort (util.js:1046:20)
at Server.setupListenHandle [as _listen2] (net.js:1351:14)
at listenInCluster (net.js:1392:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
code: ‘EADDRINUSE’,
errno: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘127.0.0.1’,
port: 8080 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.main.js:343 Config file is missing! Please create a config file.
loadConfig @ main.js:343
19:03:05.148 -
@ernst-jan it is already running. Need to stop it before starting again
-
@ernst-jan and syntax errors
From mm folder do
node tests/configs/check_config.js
Start at the top and correct errors reported, rerun til no errors, then do the npm start again
-
@ernst-jan said in MMM Remote Controle - starting issus:
{ module: ‘MMM-Remote-Control’ // uncomment the following line to show the URL of the remote control on the mirror position: ‘bottom_left’ // you can hide this module afterwards from the remote control itself } },
i am missing a semilicon
type this
, position: ‘bottom_left’ -
@robiv8 two close brace, only one open
Comma Missing after the module line
-
@robiv8 said in MMM Remote Controle - starting issus:
You are right! 1 close brace are to muchAnd comma missing:
This{ module: ‘MMM-Remote-Control’ , position: ‘bottom_left’ },
or this
{ module: ‘MMM-Remote-Control’, position: ‘bottom_left’ },
is the same.