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 10.1k 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 Do not disturb
      sdetweil @thad
      last edited by sdetweil

      @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 Reply Quote 0
      • T Offline
        thad @sdetweil
        last edited by

        @sdetweil

        Looking good. Right at an hour with no restarts.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @thad
          last edited by

          @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 Reply Quote 0
          • T Offline
            thad @sdetweil
            last edited by

            @sdetweil

            It’s a pi4 running Raspbian release 10.

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @thad
              last edited by sdetweil

              @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 Reply Quote 0
              • T Offline
                thad @sdetweil
                last edited by

                @sdetweil

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

                S T 2 Replies Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @thad
                  last edited by

                  @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

                    @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 Reply Quote 0
                    • S Do not disturb
                      sdetweil @thad
                      last edited by

                      @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 Reply Quote 0
                      • T Offline
                        thad @sdetweil
                        last edited by

                        @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 Reply Quote 0
                        • S Do not disturb
                          sdetweil @thad
                          last edited by

                          @thad said in Trying to update node.js fails:

                          dtoverlay=vc4-fkms-v3d
                          max_framebuffers=2

                          same for my pi4 (4 gig)

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1
                          • 2
                          • 2 / 2
                          • 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