• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Problems with Config.js on Pi4 BlackScreen

Scheduled Pinned Locked Moved Solved Troubleshooting
24 Posts 2 Posters 5.7k Views 2 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 @dazza120
    last edited by sdetweil Jul 13, 2019, 5:51 PM Jul 13, 2019, 5:50 PM

    @dazza120 which one does pm2 want to use? I am not near my computer so can’t get the list of pm2 commands.

    pm2 – help

    Did u edit the path in mm.sh?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 1 Reply Last reply Jul 13, 2019, 5:52 PM Reply Quote 0
    • D Offline
      dazza120 @sdetweil
      last edited by dazza120 Jul 13, 2019, 5:58 PM Jul 13, 2019, 5:52 PM

      @sdetweil no i mearly placed it in the magicmirror folder path. its set to Cd /MagicMirror folder already and pm2 -help isnt displaying a list of pm2 commands

      S 1 Reply Last reply Jul 13, 2019, 5:57 PM Reply Quote 0
      • S Offline
        sdetweil @dazza120
        last edited by Jul 13, 2019, 5:57 PM

        @dazza120 inside needs to be

        cd /home/pi/MagicMirror
        DISPLAY=:0 npm start
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Jul 13, 2019, 6:01 PM Reply Quote 0
        • D Offline
          dazza120 @sdetweil
          last edited by Jul 13, 2019, 6:01 PM

          @sdetweil changed it what now mate

          S 1 Reply Last reply Jul 13, 2019, 6:01 PM Reply Quote 0
          • S Offline
            sdetweil @dazza120
            last edited by Jul 13, 2019, 6:01 PM

            @dazza120 did u try pm2 now?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Jul 13, 2019, 6:06 PM Reply Quote 0
            • D Offline
              dazza120 @sdetweil
              last edited by Jul 13, 2019, 6:06 PM

              @sdetweil pm2 start or the dev thing?

              S 1 Reply Last reply Jul 13, 2019, 6:07 PM Reply Quote 0
              • S Offline
                sdetweil @dazza120
                last edited by Jul 13, 2019, 6:07 PM

                @dazza120

                Let’s get npm start dev working

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                D 1 Reply Last reply Jul 13, 2019, 6:13 PM Reply Quote 0
                • D Offline
                  dazza120 @sdetweil
                  last edited by dazza120 Jul 13, 2019, 6:16 PM Jul 13, 2019, 6:13 PM

                  @sdetweil still nothing in the dev console mate, i can start the whole build over again but everytime i go to change the config it doesnt work

                  S 1 Reply Last reply Jul 13, 2019, 6:34 PM Reply Quote 0
                  • S Offline
                    sdetweil @dazza120
                    last edited by Jul 13, 2019, 6:34 PM

                    @dazza120 ok, start again… change the config?

                    So, you install a module. If it has package.json file you run npm install in the module folder

                    Then edit config.js and add
                    Module structure.

                    {
                      module:'somename',
                      config: {
                      }
                    },
                    

                    To the modules array.

                    If think syntax error, from the MagicMirror folder do,

                    npm  run config:check
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 2 Replies Last reply Jul 13, 2019, 6:56 PM Reply Quote 0
                    • D Offline
                      dazza120 @sdetweil
                      last edited by Jul 13, 2019, 6:56 PM

                      @sdetweil yep im cd-ing into the module folder and then running npm install, ill start over again and go through it slowly but ive probably built the mirror 20 from scratch no issues before with config but ive altered it too much now thinking that was it so its from scratch now but copying back the old config should have sorted any of those issues, does your installer work?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        18/24
                        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