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.

    node problem : I can't update my MM and MM disappears from my screen after reboot

    Scheduled Pinned Locked Moved Solved Troubleshooting
    28 Posts 4 Posters 5.9k Views 4 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
      last edited by

      @RIKKO14 now another module… DHT-Sensor missing a library

      go to the module folder and

      see this topic

      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        I do

        cd ~/MagicMirror/modules/MMM-DHT-Sensor
        npm install
        

        then

        cd ~/MagicMirror
        npm start
        

        then

        cd ~/MagicMirror/modules/MMM-GoogleAssistant
        npm run update
        npm run refresh
        

        then

        pm2 restart 0
        

        then

        sudo reboot now
        

        and finally everything works well

        thank you for your help

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

          @RIKKO14 thank you. upgrade script should have done npm install for the dht-sensor module. will check why not

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          bugsounetB 1 Reply Last reply Reply Quote 0
          • bugsounetB Offline
            bugsounet Banned @sdetweil
            last edited by

            @sdetweil that’s why I write +/- the same with npm run refresh for the same problem (some libraries disappear with the change of mode version or need to be rebuilded) but it’s limited to my own modules

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

              @bugsounet if the module is installed in the base folder, but not referenced In package.json it will be removed on next npm install for security

              I check for rebuild not refresh… will fix upgrade

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              bugsounetB 1 Reply Last reply Reply Quote 0
              • bugsounetB Offline
                bugsounet Banned @sdetweil
                last edited by

                @sdetweil sure, that why i use my “Installer core”. All script are inside, I just have to call it ;)

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

                  @bugsounet @RIKKO14

                  can either of you run this on your French systems

                  LC_ALL=C  free -m
                  

                  should output in english

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil Hello,
                    it scares me, my MM has been working perfectly lately. I’m worried that by making this script it will upset something. what is it to do and should it be done directly in the terminal or in the MM folder?

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

                      @RIKKO14 just one command run in terminal

                      returns amount of memory being used

                      my scripts use this an depend on the English text,
                      trying to make sure it comes out in English is all.

                      has no affect on system

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRIZE @RIKKO14
                        last edited by

                        @RIKKO14
                        If your MM worked fine and you don’t have any MUST-UPDATE needs, Just don’t update . Leave it as it was.

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