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.

    MagicMirror no longer launches

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    38 Posts 4 Posters 6.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.
    • R Offline
      RIKKO14 @sdetweil
      last edited by

      @sdetweil

      pi@raspberrypi:~ $ npm run install-mm
      npm ERR! Missing script: "install-mm"
      npm ERR! 
      npm ERR! Did you mean this?
      npm ERR!     npm install # Install a package
      npm ERR! 
      npm ERR! To see a list of scripts, run:
      npm ERR!   npm run
      
      npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-04-26T16_46_42_166Z-debug-0.log
      pi@raspberrypi:~ $ 
      
      
      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @RIKKO14
        last edited by

        @RIKKO14 ok, even worse, the git pull failed.

        do

        git pull
        show the output

        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 bugsounet

          pi@raspberrypi:~ $ npm run install-mm

          @sdetweil (inside MagicMirror Folder)

          maybe: (in this case)

          cd ~/MagicMirror
          rm -rf node_modules
          git reset --hard origin
          git pull
          npm run install-mm
          

          no ?

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

            @bugsounet I want to see what the problem is, not just wipe everything

            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 : yes… but inside MM² Folder not outside ;)

              pi@raspberrypi:~ $ npm run install-mm

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

                @bugsounet yes, of course

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

                  @RIKKO14 as @bugsounet noted, you have ti be in the MagicMirror folder for MagicMirror commands

                  I didn’t say that, as the last instructions left you in that folder

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil @bugsounet

                    pi@raspberrypi:~ $ npm run install-mm
                    npm ERR! Missing script: "install-mm"
                    npm ERR! 
                    npm ERR! Did you mean this?
                    npm ERR!     npm install # Install a package
                    npm ERR! 
                    npm ERR! To see a list of scripts, run:
                    npm ERR!   npm run
                    
                    npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-04-26T16_46_42_166Z-debug-0.log
                    pi@raspberrypi:~ $ ^C
                    pi@raspberrypi:~ $ git pull
                    fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git
                    pi@raspberrypi:~ $ cd ~/MagicMirror
                    rm -rf node_modules
                    git reset --hard origin
                    git pull
                    npm run install-mm
                    HEAD est maintenant à 5ea8a346 Release 2.27.0 (#3410)
                    astuce: Tirer sans spécifier comment réconcilier les branches divergentes
                    astuce: est découragé. Vous pouvez éliminer ce message en lançant une des
                    astuce: commandes suivantes avant votre prochain tirage :
                    astuce: 
                    astuce:   git config pull.rebase false  # fusion (stratégie par défaut)
                    astuce:   git config pull.rebase true   # rebasage
                    astuce:   git config pull.ff only       # avance rapide seulement
                    astuce: 
                    astuce: Vous pouvez remplacer "git config" par "git config --global" pour que
                    astuce: ce soit l'option par défaut pour tous les dépôts. Vous pouvez aussi
                    astuce: passer --rebase, --no-rebase ou --ff-only sur la ligne de commande pour
                    astuce: remplacer à l'invocation la valeur par défaut configurée.
                    Déjà à jour.
                    
                    > magicmirror@2.27.0 install-mm
                    > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
                    
                    
                    > magicmirror@2.27.0 postinstall
                    > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! 
                    > "
                    
                    
                    > magicmirror@2.27.0 install-vendor
                    > echo "Installing vendor files ...
                    > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                    
                    Installing vendor files ...
                    
                    
                    changed 1 package in 10s
                    
                    > magicmirror@2.27.0 install-fonts
                    > echo "Installing fonts ...
                    > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                    
                    Installing fonts ...
                    
                    
                    changed 2 packages in 4s
                    MagicMirror² installation finished successfully! 
                    
                    
                    > magicmirror@2.27.0 prepare
                    > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
                    
                    no husky installed.
                    
                    added 483 packages in 2m
                    pi@raspberrypi:~/MagicMirror $
                    

                    After a reboot of my Pi the icone on the top of my screen have change

                    Sans titre.png

                    and my MM launch but I have a problem of Library :

                    About GA of Bugsounet “Library loading error” remains displayed on my screen…

                    Sans titre1.png

                    I tried to update GA without success :
                    Sans titre2.png

                    I post the question on the Bugsounet forum

                    thank you very much both for your help !!

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