MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM Remote Controle - starting issus

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    13 Posts 3 Posters 4.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @Ernst-Jan
      last edited by

      @ernst-jan do

      npm start dev
      

      Then select the console tab of the developers environment, and look for any errors (red text)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • E Offline
        Ernst-Jan @Ernst-Jan
        last edited by

        @ernst-jan
        npm ERR! missing script: start

        npm ERR! A complete log of this run can be found in:
        npm ERR! /home/pi/.npm/_logs/2019-01-31T17_06_55_736Z-debug.log

        S E 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Ernst-Jan
          last edited by

          @ernst-jan in the magic mirror folder

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • E Offline
            Ernst-Jan @Ernst-Jan
            last edited by

            @ernst-jan said in MMM Remote Controle - starting issus:

            npm/logs
            0 info it worked if it ends with ok
            1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’, ‘dev’ ]
            2 info using npm@5.6.0
            3 info using node@v9.11.2
            4 verbose stack Error: missing script: start
            4 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:151:19)
            4 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:61:5
            4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5
            4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:402:5
            4 verbose stack at checkBinReferences
            (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:357:45)
            4 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:400:3)
            4 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5)
            4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:348:12
            4 verbose stack at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
            4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:525:3)
            5 verbose cwd /home/pi/.local/share/Trash/files/MMM-Remote-Control/MMM-Remote-Control
            6 verbose Linux 4.14.79-v7+
            7 verbose argv “/usr/bin/node” “/usr/bin/npm” “start” “dev”
            8 verbose node v9.11.2
            9 verbose npm v5.6.0
            10 error missing script: start
            11 verbose exit [ 1, true ]

            1 Reply Last reply Reply Quote 0
            • E Offline
              Ernst-Jan
              last edited by

              @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

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Ernst-Jan
                last edited by

                @ernst-jan don’t understand your reply.

                From the MagicMirror folder do

                npm start dev
                

                Then as per my previous instructions

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Ernst-Jan
                  last edited by

                  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

                  S 2 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Ernst-Jan
                    last edited by

                    @ernst-jan it is already running. Need to stop it before starting again

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Ernst-Jan
                      last edited by sdetweil

                      @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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        robiv8
                        last edited by

                        @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’

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy