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.

    EBADENGINE

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 2 Posters 536 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.
    • J Offline
      juicebox
      last edited by

      npm error code EBADENGINE
      npm error engine Unsupported engine
      npm error engine Not compatible with your version of node/npm: magicmirror@2.29.0
      npm error notsup Not compatible with your version of node/npm: magicmirror@2.29.0
      npm error notsup Required: {"node":">=20.9.0 <21 || 22"}
      npm error notsup Actual:   {"npm":"10.9.0","node":"v23.3.0"}
      npm error A complete log of this run can be found in: /home/xavierprince/.npm/_logs/2024-12-07T21_55_00_339Z-debug-0.log
      
      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @juicebox
        last edited by

        @juicebox yes, we do not support node 23 at this time
        The doc says to check the level needed

        You can do this

        sudo npm i n -g
        sudo n 20
        

        Then you can do the npm run install-mm in the MagicMirror folder

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil
          sorry for the late reply but I tried that and the same error appeared

          npm error code EBADENGINE
          npm error engine Unsupported engine
          npm error engine Not compatible with your version of node/npm: magicmirror@2.29.0
          npm error notsup Not compatible with your version of node/npm: magicmirror@2.29.0
          npm error notsup Required: {“node”:“>=20.9.0 <21 || 22”}
          npm error notsup Actual: {“npm”:“10.9.0”,“node”:“v23.3.0”}

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

            @juicebox

            Can you close and open the terminal window
            And then do
            node -v

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              juicebox @sdetweil
              last edited by

              @sdetweil it says
              v23.3.0

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @juicebox
                last edited by

                @juicebox can you redo the

                sudo n 20
                

                and show me the output

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 2 Replies Last reply Reply Quote 0
                • J Offline
                  juicebox @sdetweil
                  last edited by

                  @sdetweil the output

                  copying : node/20.18.1
                  installed : v20.18.1 (with npm 10.8.2)

                  S 1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @juicebox
                    last edited by

                    @juicebox ok

                    also do

                    which nvm
                    

                    (should return nothing)

                    then

                    hash -r
                    

                    returns nothing
                    then

                    node -v
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      juicebox @sdetweil
                      last edited by

                      @sdetweil
                      i got that
                      v23.3.0

                      S 1 Reply Last reply Reply Quote 0
                      • S Away
                        sdetweil @juicebox
                        last edited by

                        @juicebox ok… well, I don’t know…

                        start over
                        use my install script, it adds nodejs as required
                        see
                        https://github.com/sdetweil/MagicMirror_scripts

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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