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

Npm start...

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 5 Posters 9.6k Views 4 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.
  • C Offline
    cowboysdude Module Developer
    last edited by Jan 21, 2017, 3:41 PM

    No go. It is loading and it opens a seperate tab on the side panel but does not display…

    So I’m trying to figure it out… has to be something in the output of the mirror… it’s launching just not on the TV… which I have hooked up to HDMI…

    1 Reply Last reply Reply Quote 0
    • M Offline
      morozgrafix Moderator
      last edited by Jan 21, 2017, 4:41 PM

      I’m replying from my phone at the moment and will post full reply to all later when I’m in front of my computer.

      When I said “but npm start worked just fine” I meant I was running it from terminal on Ubuntu box and not through SSH from my MacBook.

      1 Reply Last reply Reply Quote 1
      • M Offline
        morozgrafix Moderator @LincolnClay
        last edited by Jan 21, 2017, 8:33 PM

        @LincolnClay I’m glad it all worked out for you. But I would be careful adding sudo command to everything. You may run into permissions issues. The reason why you need to use sudo when installing packages with apt-get is because you need to have elevated privileges as you are making system wide changes. Cloning MM repository in your home directory shouldn’t require sudo, if you use sudo to clone all files will belong to root user and your user (usually pi) will not have permissions to create or modify files in MagicMirror directory (which opens a whole different can of worms).

        TL;DR version: try to use sudo only when necessary.

        @cowboysdude Do you have only one monitor (your TV through HDMI) to your Ubuntu box? Also you may want to attempt to run https://github.com/electron/electron-quick-start just to see electron app running on your rig completely outside of MM codebase.

        @cianoo45 are you still having problems starting the MM? That writeup was specifically for @cowboysdude who was trying to get MM setup on his Ubuntu system. You should be fine with npm v4.0.0 (on my RasPi I’m running node v6.9.2 and npm v3.10.9 if that matters)

        C L 2 Replies Last reply Jan 21, 2017, 8:48 PM Reply Quote 2
        • C Offline
          cowboysdude Module Developer @morozgrafix
          last edited by Jan 21, 2017, 8:48 PM

          @morozgrafix Thanks for all the help!! I figured it out!!

          Since I’m running on a mini-itx it has two display options… they were both running and the mirror was loading on option 1 that’s great but I’m using option 2.

          SO I went into the settings and disabled option 1 in Unbuntu and BOOM… now it works ;)

          M 1 Reply Last reply Jan 21, 2017, 9:07 PM Reply Quote 2
          • M Offline
            morozgrafix Moderator @cowboysdude
            last edited by Jan 21, 2017, 9:07 PM

            @cowboysdude sweet I’m glad you got it working.

            C 1 Reply Last reply Jan 21, 2017, 11:06 PM Reply Quote 1
            • C Offline
              cowboysdude Module Developer @morozgrafix
              last edited by cowboysdude Jan 21, 2017, 11:08 PM Jan 21, 2017, 11:06 PM

              @morozgrafix Me too! :) BUT HUGE Thank you for the help!!!

              NOW to install Strawberry’s voice module!!!

              This thing runs so fast!! I can’t wait to get the touch panel! :)

              1 Reply Last reply Reply Quote 1
              • 1
              • 2
              • 2 / 2
              2 / 2
              • First post
                13/16
                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