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.

    Complete Setup tutorial: npm command not found / unable to install dependencies

    Scheduled Pinned Locked Moved Troubleshooting
    15 Posts 4 Posters 17.3k 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.
    • Mr.MeeseeksM Offline
      Mr.Meeseeks
      last edited by

      Wicked!
      Ya the date time solved the https certificate issue. I also don’t know why we had to install npm manually and no one else did. Oh well, I’m sure this thread will help others👍

      CAAAAN DOO!👍

      1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by paviro

        Honestly what I would do is format the SD card put the rasp img on the SD card then open a terminal window and do the

        sudo apt-get update
        sudo apt-get upgrade

        then go to installing the mirror via the install script.


        Note from admin: Please use Markdown on code snippets for easier reading!

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          Blamer @cowboysdude
          last edited by

          @cowboysdude

          I tried that several times and it didn´t work! My Raspberry is probably some sort of unique…

          1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer
            last edited by

            That’s interesting to say the least… did you try the manual install?

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              Blamer @cowboysdude
              last edited by

              @cowboysdude

              Of course I did. I tried the automatic and manual install with a formated SD card several times.
              That´s the setup I´m using:
              Raspberry Pi: https://www.amazon.de/gp/product/B01CEFWQFA/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

              SD- Card: https://www.amazon.de/gp/product/B013UDL5V6/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=

              Keyboard: https://www.amazon.de/Logitech-Keyboard-QWERTZ-deutsches-Tastaturlayout/dp/B003PAMIA2/ref=sr_1_1?s=ce-de&ie=UTF8&qid=1474639200&sr=1-1 keywords=logitech+K120

              Power Source: https://www.amazon.de/gp/product/B01DBYGV04/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

              OS: 2016-05-27 raspbian jessie

              Right now MM runs fine with the above mentioned commands. The only problem that remains is that the system clock of the Raspberry still doesn´t synchronize with the Internet. After using “sudo date -s “20 SEP 2016 20:37:00”” the system clock remains on the 20th of September, 22:26h. Hope I can fix that this weekend. Any suggestions are highly appreciated. Thanks.

              1 Reply Last reply Reply Quote 0
              • KirAsh4K Offline
                KirAsh4 Moderator
                last edited by

                Is ntp running? Is your firewall blocking it?

                A Life? Cool! Where can I download one of those from?

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  Blamer @KirAsh4
                  last edited by

                  @KirAsh4
                  I finally got it running. It turned out that the sync.- problem is well known since May 2016.

                  –> https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=149221

                  1. stopped the ntpd with :

                  sudo systemctl stop ntp

                  1. rather than running ntpdate, ran ntpdate-debian:

                  sudo ntpdate-debian

                  1. started ntpd

                  sudo systemctl start ntp

                  1. check

                  sudo ntpq -p

                  Now I´m happy!!

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