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.

    Cannot Find Module ‘ansis’

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 1.5k 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
      Splashed
      last edited by

      I have been having some issues with my newsfeed module, so I thought I’d try to update it. That threw an error, so I essentially gave up and just tried to restart my screen.

      Now it won’t start either due to :
      Error: Cannot find module ‘ansis’

      I tried to install a module called ‘ANSIS’ and I get a whole new set of errors:

      Npm err! Code ebadengine
      Nom err! Engine unsupported engine
      Also more about being not compatible with my version

      I have never had or heard of a module called ansis, so I’m pretty stumped on how to fix this issue.

      Google-fu didnt provide any helpful answers, so I come here for guidance.

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

        @Splashed if you read the page, upgrade is 2 part, two links provided

        part 1
        test, do nothing. find trouble before it happens
        part 2
        DO the upgrade, same command, but has a parameter added at the end
        that parm is

        apply
        

        BUT , by default, apply will NOT upgrade over the SAME version, trying to prevent you from messing up your system

        so, there is another option in this case,
        change the parm apply to force
        to allow upgrade OVER the same version

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @Splashed you need to have node 20.18.1 or any version 22 and up

          if you run my upgrade script, it will upgrade node too.
          see
          https://github.com/sdetweil/MagicMirror_scripts

          now, because you have pilled the latest code, you need to use the parm

          force
          

          instead of apply

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil

            I appreciate the speedy help.

            I ran the upgrade script, but Im confused about the second part of your suggestion.

            Can you please elaborate on “you need your use the parm force instead of apply”

            Thanks.

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

              @Splashed if you read the page, upgrade is 2 part, two links provided

              part 1
              test, do nothing. find trouble before it happens
              part 2
              DO the upgrade, same command, but has a parameter added at the end
              that parm is

              apply
              

              BUT , by default, apply will NOT upgrade over the SAME version, trying to prevent you from messing up your system

              so, there is another option in this case,
              change the parm apply to force
              to allow upgrade OVER the same version

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil

                Worked perfectly, thanks for clarifying.

                Can you comment on why me trying to update a module would cause this error to present itself?

                If not, that’s fine too. I appreciate the help.

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

                  @Splashed no idea. unless you didn’t get into the module folder before the git pull

                  cd ~/MagicMirror/modules/module_name

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S sdetweil has marked this topic as solved on
                  • S sdetweil has marked this topic as solved on
                  • 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