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.

    Magic Mirror and NodeJS

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 3 Posters 1.8k Views 3 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.
    • R Offline
      reilley @sdetweil
      last edited by

      @sdetweil - Sam, will your scripts install Nodejs and NPM? My SSD died and I’m having a hell of a time getting Nodejs installed on it. I keep getting errors about glibcc_3.4.29 and 3.4.30 not being found.

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

        @reilley Yes, my script does everything you need to get running… BUT… it sounds like you are on buster (lsb_release -a)… and the latest nodejs doesn’t run on buster… SO

        anyhow, look at my backup/restore scripts… makes backup of config.js, custom.css, all the links of the installed modules (where they came from) and any extra files created by the modules, token files, credentials…

        then after reinstall mm… run restore to put back all that
        https://github.com/sdetweil/MagicMirror-backup-restore

        the backup is very small… 3 files of text, and maybe a few token files also text

        can also save the repo in git, and restore/install from there
        and provides ability to version backup… so you could restore to a different version…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          reilley @sdetweil
          last edited by

          @sdetweil - I’ve been running on Bullseye up until until the SSD croaked. I just installed Bookworm 64 bit before I saw your reply and once it’s done updating, I’ll give your script a whirl. Weird that this was happening since I installed NodeJS with no problems a few months ago. Argh!!!

          Thanks for the help as always!!!

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

            @reilley the parts keep moving UP the currency chain… we need a lib, it needs 20.9, now need another lib, it needs 20.18.1, new electron, … the new nodejs versions need a new c++runtime lib… oops its not available on older OS… armv6l is really getting long in the tooth… (20.18.1 is the last version available …)

            latest nodejs is 23… we checked and didn’t accept that… fixed on jan 1… but its hard to keep up…

            can’t sit still

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              reilley @sdetweil
              last edited by

              @sdetweil - I feel ya! Back from dinner with the wife and your script ran perfectly - thanks! Now, I’m tracking down a pesky weather module issue, grrrrr. I’ll definitely be taking advantage of your backup scripts as soon as I get this all working again. I don’t ever want to reinstall from scratch again, ugh.

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

                @reilley said in Magic Mirror and NodeJS:

                I’ll definitely be taking advantage of your backup scripts as soon as I get this all working again

                note you can backup, and backup and backup and backup, over and over…

                and each one has a git tag… and you can restore THAT version…

                so, backup as much as you want, add a message on each so you know what you did in this version
                (added weather, changed colors… whatever, in quotes)

                the list_tags command link will list them out

                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