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.

    After 2.8 I'm having tons of issues. What are the steps from square 1 to get this working?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    46 Posts 3 Posters 18.1k 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 @maxheartrate
      last edited by sdetweil

      @maxheartrate no. No npm install in the node_modules folder. That messes everything up.

      Do

      cd ~/MagicMirror
      rm -rf node_modules
      cp -R -p ???/node_modules ~/MagicMirror
      

      Where ??? Is your recently cloned download.

      Then in the MagicMirror folder do

      npm install
      

      IF u had other modules installed, beyond the initial set, then look thru their folders and see if there is a package.json file present. If so, in each such module folder do a

      npm install 
      

      there

      I made a new script to do all this upgrade stuff, but I don’t know what will happen if the git pull is already done.
      See my upgrade topic in the troubleshooting section

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        maxheartrate
        last edited by

        Hi @sdetweil, thanks for joining in and for your advise.

        I followed your steps just as described. The node_helper was the only module in the newly cloned node_modules folder. I then ran npm install and an npm install in every modules folder with a package.json file.

        After that I ran into the missing node_helper error again. Obviously the folder was deleted when I ran the npm install in the MagicMirror folder. Now I copied the node_helper folder from the newly cloned version again and I am back at the error I sent in my previous post. :dizzy_face:

        
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @maxheartrate
          last edited by

          @maxheartrate

          Obviously the folder was deleted when I ran the npm install in the MagicMirror folder
          

          No it won’t be deleted.

          Let’s start from scratch. U have the extra downloaded copy. Make THAT NAME MagicMirror, and npm install in that folder.

          Start mm and we should be running.

          Then we will copy over your extra modules, and config file
          And work from there

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            maxheartrate
            last edited by

            Alright. Now I have something else but a black screen for the first time in days:

            “Magic Mirror - please create a config file”

            What do you suggest now?

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by

              @maxheartrate

              Obviously the folder was deleted when I ran the npm install in the MagicMirror folder
              

              No it won’t be deleted.

              Let’s start from scratch. U have the extra downloaded copy. Make THAT NAME MagicMirror, and npm install in that folder.

              Start mm and we should be running.

              Then we will copy over your extra modules, and config file
              And work from there

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                maxheartrate @sdetweil
                last edited by

                @sdetweil
                That’s what I did. I have a fresh MagicMirror now. It is running but can’t find the config file (I haven’t copied config.js.sample to config.js yet).

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @maxheartrate
                  last edited by

                  @maxheartrate you have to do that, copy the config

                  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 @maxheartrate
                    last edited by sdetweil

                    @maxheartrate I really want you to run my updated install script…if I can only find the topic with the link!

                    See the second post here
                    https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      maxheartrate
                      last edited by

                      I am now using my original config.js and I am copying the modules one by one, then restarting Magic Mirror and checking if it still works.

                      I have got some stuff back up and running now. Thank so much up to this point.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        maxheartrate
                        last edited by

                        I just did a reboot to see if MagicMirror survives it. :winking_face:

                        Since I ran your @sdetweil script in my time of desparation, pm2 now autostarts two instances of MagicMirror. One is MagicMirror and one my original mm.

                        Where do I edit this again? I forgot how I managed to do the autostart in the first place … sorry.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 2 / 5
                        • 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