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

Trouble

Scheduled Pinned Locked Moved Hardware
9 Posts 2 Posters 564 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 Nov 29, 2020, 8:58 PM

    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 Nov 30, 2020, 12:41 AM Reply Quote 0
    • S Offline
      sdetweil @marczy236
      last edited by Nov 30, 2020, 12:41 AM

      @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 Nov 30, 2020, 1:39 AM Reply Quote 0
      • M Offline
        marczy236 @sdetweil
        last edited by Nov 30, 2020, 1:39 AM

        @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 Nov 30, 2020, 2:07 AM Reply Quote 0
        • S Offline
          sdetweil @marczy236
          last edited by sdetweil Nov 30, 2020, 2:09 AM Nov 30, 2020, 2:07 AM

          @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 Nov 30, 2020, 2:08 AM

            @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 Dec 9, 2020, 9:40 AM Reply Quote 0
            • M Offline
              marczy236
              last edited by Dec 7, 2020, 9:38 PM

              @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 Dec 7, 2020, 10:30 PM Reply Quote 0
              • S Offline
                sdetweil @marczy236
                last edited by Dec 7, 2020, 10:30 PM

                @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 Dec 9, 2020, 9:40 AM

                  @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 Dec 9, 2020, 11:34 AM Reply Quote 0
                  • S Offline
                    sdetweil @marczy236
                    last edited by Dec 9, 2020, 11:34 AM

                    @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