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.

    Can't find "scripts" field in /MagicMirror/modules/MMM-Todoist/package.json

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 2 Posters 45 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.
    • S Offline
      sdetweil @DarthWerner
      last edited by

      @DarthWerner

      node --run install-mm

      Is for MagicMirror itself, not a module

      For a module it would be

      git pull && npm install 
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        DarthWerner @sdetweil
        last edited by

        @sdetweil said in Can't find "scripts" field in /MagicMirror/modules/MMM-Todoist/package.json:

        git pull && npm install

        Thank you Sam,

        I think we’re running into a version problem:

        *```
        npm error code EBADENGINE
        npm error engine Unsupported engine
        npm error engine Not compatible with your version of node/npm: magicmirror@2.34.0
        npm error notsup Not compatible with your version of node/npm: magicmirror@2.34.0
        npm error notsup Required: {“node”:“>=22.21.1 <23 || >=24”}
        npm error notsup Actual: {“npm”:“11.3.0”,“node”:“v22.14.0”}

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

          @DarthWerner but you are supposed to be in the module folder

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            DarthWerner @sdetweil
            last edited by

            @sdetweil

            Yes, I’ve been in the modules folder when I did the git pull and npm install.

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

              @DarthWerner in the MMM-Todoist folder right?

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

                @DarthWerner but I think you may have messed up MagicMirror

                Use my upgrade script with force instead of apply as the parm

                See https://github.com/sdetweil/MagicMirror_scripts

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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