Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Trouble

    Hardware
    2
    9
    81
    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
      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
        sdetweil @marczy236 last edited by

        @marczy236 what device? Pi0?

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

        M 1 Reply Last reply Reply Quote 0
        • M
          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
            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

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

              @marczy236 can u show results of uname -a

              M 1 Reply Last reply Reply Quote 0
              • M
                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
                  sdetweil @marczy236 last edited by

                  @marczy236 little old, 2018, but should work

                  1 Reply Last reply Reply Quote 0
                  • M
                    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
                      sdetweil @marczy236 last edited by

                      @marczy236 could u show me what u changed?

                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy