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.

    MM startup problem after update

    Scheduled Pinned Locked Moved Unsolved Requests
    42 Posts 3 Posters 5.2k 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.
    • M Offline
      manu85340 @sdetweil
      last edited by

      @sdetweil ok sorry for the screenshots

      pi@MagicMirror:~ $ pm2 stop all
      [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
      [PM2] [mm](0) ✓
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ mm                 │ fork     │ 685  │ stopped   │ 0%       │ 0b       │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      pi@MagicMirror:~ $ cd ~/MagicMirror
      pi@MagicMirror:~/MagicMirror $ npm install electron@31.1.0
      npm ERR! code EBADENGINE
      npm ERR! engine Unsupported engine
      npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.28.0
      npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.28.0
      npm ERR! notsup Required: {"node":">=20"}
      npm ERR! notsup Actual:   {"npm":"9.8.1","node":"v18.18.0"}
      
      npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-07                                                                                                                                                             -01T13_05_28_653Z-debug-0.log
      pi@MagicMirror:~/MagicMirror $
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @manu85340
        last edited by sdetweil

        @manu85340 ok, upgrade didn’t upgrade nodejs…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @sdetweil
          last edited by

          @manu85340 also show output of

          lsb_release -a

          bet it shows buster

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil

            pi@MagicMirror:~ $ lsb_release -a
            No LSB modules are available.
            Distributor ID: Raspbian
            Description:    Raspbian GNU/Linux 10 (buster)
            Release:        10
            Codename:       buster
            pi@MagicMirror:~ $
            
            S 1 Reply Last reply Reply Quote 1
            • M Offline
              manu85340 @sdetweil
              last edited by

              @sdetweil do you need installers/update.log by email?

              1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @manu85340
                last edited by

                @manu85340 ok. script forces node 18 on buster. hang on. I’ll debug

                could u give me output of command n
                it might say unknown
                or give a list

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

                  @sdetweil I typed “n” and there is nothing

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @manu85340
                    last edited by

                    @manu85340 ok,
                    do

                    sudo npm I-g n
                    sudo n 20
                    

                    then node -v

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

                      @sdetweil

                      pi@MagicMirror:~ $ sudo npm I-g n
                      Unknown command: "I-g"
                      
                      To see a list of supported npm commands, run:
                        npm help
                      pi@MagicMirror:~ $ sudo n 20
                        installing : node-v20.15.0
                             mkdir : /usr/local/n/versions/node/20.15.0
                             fetch : https://nodejs.org/dist/v20.15.0/node-v20.15.0-linux-armv7l.tar.x                                                                                                                                                             z
                           copying : node/20.15.0
                      node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not foun                                                                                                                                                             d (required by node)
                      /usr/local/bin/node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3                                                                                                                                                             .4.26' not found (required by /usr/local/bin/node)
                         installed :  (with npm )
                      pi@MagicMirror:~ $ node -v
                      node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not foun                                                                                                                                                             d (required by node)
                      pi@MagicMirror:~ $ node-v
                      -bash: node-v : commande introuvable
                      pi@MagicMirror:~ $ node -v
                      node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not foun                                                                                                                                                             d (required by node)
                      pi@MagicMirror:~ $
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @manu85340
                        last edited by

                        @manu85340 grr… that was the problem finding the c++ lib for buster.

                        let me research, be a couple hours

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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