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.

    Trouble

    Scheduled Pinned Locked Moved Hardware
    9 Posts 2 Posters 675 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.
    • M Offline
      marczy236
      last edited by

      Does anyone can help m
      sh: 1: ./node_modules/.bin/electron: not found
      npm ERR! code ELIFECYCLE
      npm ERR! syscall spawn
      npm ERR! file sh
      npm ERR! errno ENOENT
      npm ERR! magicmirror@2.13.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      npm WARN Local package.json exists, but node_modules missing, did you mean to install?

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2020-11-29T20_51_06_451Z-debug.log

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

        @marczy236 what device? Pi0?

        Use my install script, see here
        https://github.com/sdetweil/MagicMirror_scripts

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          marczy236 @sdetweil
          last edited by

          @sdetweil it is actually a Banana Pi device with a Raspbian image
          I made it on my Ubuntu, but I want it in a Raspbian.
          I tried to run every script, bit it doesn’t work. But can you tell me, how could I do this properly?

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @marczy236
            last edited by sdetweil

            @marczy236 u run one script, install. Copy/paste the one line

            It assumes this is first install, so there cannot be a MagicMirror folder

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @marczy236 can u show results of uname -a

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                marczy236
                last edited by

                @sdetweil
                pi@bpi-iot-ros-ai:~ $ uname -a
                Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel #1 SMP PREEMPT Sat May 26 10:03:38 UTC 2018 armv7l GNU/Linux

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

                  @marczy236 little old, 2018, but should work

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    marczy236 @sdetweil
                    last edited by

                    @sdetweil thanks a lot Master. I already made it.
                    I had some problem whit the first line of the code, but i modified it and changed the number to 8.
                    It is working now perfectly

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

                      @marczy236 could u show me what u changed?

                      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