• 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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
10 Posts 2 Posters 1.2k 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 Away
    sdetweil @theaddies
    last edited by sdetweil Apr 2, 2023, 5:31 PM Apr 2, 2023, 5:29 PM

    @theaddies ouch…

    ‘maybe’ this will work, but most of the time I have to replace the sd card

    try

    sudo npm uninstall pm2 -g
    

    I would reboot here

    then use my script to add it back
    see https://github.com/sdetweil/MagicMirror_scripts

    the fixuppm2 command at the bottom of the page

    even if it works, I would plan to get off that sd card asap

    use my backup/restore scripts to backup the MM info
    https://github.com/sdetweil/MagicMirror-backup-restore

    I am testing a new release,
    select the withfiles dropdown before copy/pasting the backup command

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • T Offline
      theaddies
      last edited by Apr 7, 2023, 1:38 AM

      Does duplicating the card duplicate the flaw or is the copy good? Or is there a way I can make a copy of the important parts of the OS without duplicating the card?

      S 1 Reply Last reply Apr 7, 2023, 1:51 AM Reply Quote 0
      • S Away
        sdetweil @theaddies
        last edited by Apr 7, 2023, 1:51 AM

        @theaddies copying the card copies the troubles

        only way is to start over.

        use my backup script to save your mm config and modules list for reinstall on restore

        use my install script to I shall mm after a new SD card is made and booted

        then run restore

        it’s the fastest way, least amount of work

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Apr 7, 2023, 10:31 PM Reply Quote 0
        • T Offline
          theaddies @sdetweil
          last edited by Apr 7, 2023, 10:31 PM

          @sdetweil Thanks for the reply. I started over. I just made a posts where I ran your script and can’t get it to work. I don’t know how I ever got this thing working in the first place. I have 3 of them running and now I can’t anything to go. My other post is awaiting approval.

          S 3 Replies Last reply Apr 7, 2023, 10:33 PM Reply Quote 0
          • S Away
            sdetweil @theaddies
            last edited by Apr 7, 2023, 10:33 PM

            @theaddies I don’t see any pending posts

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @theaddies
              last edited by Apr 7, 2023, 10:35 PM

              @theaddies script is copy paste the line from GitHub to terminal window, and hit enter

              show me the ~/install.log

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @theaddies
                last edited by Apr 7, 2023, 10:36 PM

                @theaddies which script? install or backup?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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