• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 347 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 Jan 26, 2025, 9:48 PM

    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 Jan 26, 2025, 9:59 PM Reply Quote 0
    • S Away
      sdetweil @Splashed
      last edited by sdetweil Jan 28, 2025, 9:34 PM Jan 26, 2025, 10:49 PM

      @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 Jan 26, 2025, 11:58 PM Reply Quote 0
      • S Away
        sdetweil @Splashed
        last edited by sdetweil Jan 28, 2025, 9:33 PM Jan 26, 2025, 9:59 PM

        @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 Jan 26, 2025, 10:21 PM Reply Quote 0
        • S Offline
          Splashed @sdetweil
          last edited by Jan 26, 2025, 10:21 PM

          @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 Jan 26, 2025, 10:49 PM Reply Quote 0
          • S Away
            sdetweil @Splashed
            last edited by sdetweil Jan 28, 2025, 9:34 PM Jan 26, 2025, 10:49 PM

            @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 Jan 26, 2025, 11:58 PM Reply Quote 0
            • S Offline
              Splashed @sdetweil
              last edited by Jan 26, 2025, 11:58 PM

              @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 Jan 27, 2025, 12:35 AM Reply Quote 0
              • S Away
                sdetweil @Splashed
                last edited by Jan 27, 2025, 12:35 AM

                @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 Jan 28, 2025, 9:35 PM
                • S sdetweil has marked this topic as solved on Jan 29, 2025, 6:21 PM
                • 1 / 1
                1 / 1
                • First post
                  5/6
                  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