• 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.

Trying to update node.js fails

Scheduled Pinned Locked Moved Solved Troubleshooting
26 Posts 3 Posters 7.2k 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.
  • S Offline
    sdetweil @thad
    last edited by sdetweil Jan 12, 2022, 5:55 PM Jan 12, 2022, 5:51 PM

    @thad fun times

    edit package.json and add

    --disable-gpu
    

    between the node_modules/electron and the js/electron.js

    on the start statement

    on my phone so hard to build good statement result… like this…

    "start":"DISPLAY=${DISPLAY:=:0}./node_modules/.bin/electron --disable-gpu js/electron.js"
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    T 1 Reply Last reply Jan 12, 2022, 7:07 PM Reply Quote 0
    • T Offline
      thad @sdetweil
      last edited by Jan 12, 2022, 7:07 PM

      @sdetweil

      Looking good. Right at an hour with no restarts.

      S 1 Reply Last reply Jan 12, 2022, 7:12 PM Reply Quote 0
      • S Offline
        sdetweil @thad
        last edited by Jan 12, 2022, 7:12 PM

        @thad what pi is this? and what os?

        lsb_release -a
        

        will show the os release info

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Jan 12, 2022, 7:15 PM Reply Quote 0
        • T Offline
          thad @sdetweil
          last edited by Jan 12, 2022, 7:15 PM

          @sdetweil

          It’s a pi4 running Raspbian release 10.

          S 1 Reply Last reply Jan 12, 2022, 7:16 PM Reply Quote 0
          • S Offline
            sdetweil @thad
            last edited by sdetweil Jan 12, 2022, 7:17 PM Jan 12, 2022, 7:16 PM

            @thad release 10, is that buster or bullseye?

            pi4, 2,4,8 gig?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Jan 12, 2022, 7:37 PM Reply Quote 0
            • T Offline
              thad @sdetweil
              last edited by Jan 12, 2022, 7:37 PM

              @sdetweil

              It’s buster and I believe the pi4 is a 2GB model.

              S T 2 Replies Last reply Jan 12, 2022, 9:16 PM Reply Quote 0
              • S Offline
                sdetweil @thad
                last edited by Jan 12, 2022, 9:16 PM

                @thad do

                uname - a

                so I can see if legacy buster or real…

                free -m

                will tell u how much memory

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thad @thad
                  last edited by Jan 12, 2022, 9:38 PM

                  @sdetweil

                  pi@raspberrypi:~/MagicMirror $ uname -a
                  Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
                  pi@raspberrypi:~/MagicMirror $ free -m
                  total used free shared buff/cache available
                  Mem: 1939 342 888 254 708 1261

                  S 1 Reply Last reply Jan 12, 2022, 10:32 PM Reply Quote 0
                  • S Offline
                    sdetweil @thad
                    last edited by Jan 12, 2022, 10:32 PM

                    @thad thx… original buster (4.19.97), legacy is 5.??? something)

                    and yes, 2gig memory

                    did u do any display config settings info in the /boot/confg.txt

                    i have gpu trouble on my jetson nano, but never on any pi so far…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 1 Reply Last reply Jan 12, 2022, 10:53 PM Reply Quote 0
                    • T Offline
                      thad @sdetweil
                      last edited by Jan 12, 2022, 10:53 PM

                      @sdetweil

                      I don’t recall making any edits to that file. Most items in that file are commented out. Here’s a list of what’s not commented out:

                      hdmi_force_hotplug=1
                      hdmi_group=1
                      hdmi_mode=97
                      dtparam=audio=on
                      [pi4]
                      dtoverlay=vc4-fkms-v3d
                      max_framebuffers=2
                      [all]
                      hdmi_force_hotplug=1

                      S 1 Reply Last reply Jan 12, 2022, 10:58 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        20/26
                        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