• 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.7k 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.
  • M Offline
    morozgrafix Moderator
    last edited by Jan 21, 2017, 12:05 AM

    I don’t know what is going on there, but I have Ubuntu Desktop 16.04 (I think) at home and will give it a shot.

    Did you use manual install or script from the repo?

    C 1 Reply Last reply Jan 21, 2017, 12:18 AM Reply Quote 0
    • C Offline
      cowboysdude Module Developer @morozgrafix
      last edited by cowboysdude Jan 21, 2017, 12:19 AM Jan 21, 2017, 12:18 AM

      @morozgrafix I manually installed it… because I got an error about not having a pi LOL
      I’m not using a pi for this… this is a mini-itx :)

      Looks like it’s loading it fine just not showing up…

      M 1 Reply Last reply Jan 21, 2017, 12:38 AM Reply Quote 0
      • B Offline
        broberg Project Sponsor
        last edited by Jan 21, 2017, 12:24 AM

        this doesn’t really help you, but this guy has the same issue on a PI :

        https://forum.magicmirror.builders/topic/1464/launching-application-nothing-happens

        1 Reply Last reply Reply Quote 1
        • M Offline
          morozgrafix Moderator @cowboysdude
          last edited by Jan 21, 2017, 12:38 AM

          @cowboysdude I will try to reproduce on my machine in a few hours when I get home and will report back.

          C 1 Reply Last reply Jan 21, 2017, 12:53 AM Reply Quote 1
          • C Offline
            cowboysdude Module Developer @morozgrafix
            last edited by Jan 21, 2017, 12:53 AM

            @morozgrafix said in Npm start...:

            @cowboysdude I will try to reproduce on my machine in a few hours when I get home and will report back.

            Thank you!

            M 1 Reply Last reply Jan 21, 2017, 6:21 AM Reply Quote 0
            • M Offline
              morozgrafix Moderator @cowboysdude
              last edited by Jan 21, 2017, 6:21 AM

              @cowboysdude I managed to get it up and running locally on a super old system running Ubuntu 16.04.1 LTS. I had some trouble starting electron via SSH when running DISPLAY=:0 npm start, but npm start worked just fine

              Here is a list of steps that got it running (i’m running node v6.9.4 and npm v4.1.1):

              sudo apt-get install git
              git clone https://github.com/MichMich/MagicMirror.git
              curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
              sudo apt-get install -y nodejs
              node --version
              curl -sL https://www.npmjs.com/install.sh | sudo -E bash -
              npm --version
              cd MagicMirror/
              cp config/config.js.sample config/config.js
              npm install
              npm start
              

              Not sure if this will help. You can always try to run verbose mode npm start --verbose to see if there is any information that may lead you to finding a reason why it doesn’t start. It was very sluggish on my system, but this is a very old computer.

              P.S. Sorry it took me a while to get to try it out and get back to you. It has been a very long and exhausting day.

              Good luck.

              L C C 3 Replies Last reply Jan 21, 2017, 9:01 AM Reply Quote 2
              • L Offline
                LincolnClay @morozgrafix
                last edited by Jan 21, 2017, 9:01 AM

                @morozgrafix Thank you so much for this. I finally got it up and running following your method.
                I did it on a Raspberry pi 3 and after adding in a few more sudo’s it worked!

                sudo apt-get install git
                sudo git clone https://github.com/MichMich/MagicMirror.git
                sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
                sudo apt-get install -y nodejs
                node --version
                sudp curl -sL https://www.npmjs.com/install.sh | sudo -E bash -
                npm --version
                cd MagicMirror/
                sudo cp config/config.js.sample config/config.js
                sudo npm install
                npm start
                
                M 1 Reply Last reply Jan 21, 2017, 8:33 PM Reply Quote 0
                • C Offline
                  cowboysdude Module Developer @morozgrafix
                  last edited by cowboysdude Jan 21, 2017, 2:33 PM Jan 21, 2017, 1:51 PM

                  @morozgrafix Thank you!! Going to have one coffee then try it LOL

                  No need to apologize I know how you feel… Long days will do that :)

                  I appreciate the help!!!

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cianoo45 @morozgrafix
                    last edited by Jan 21, 2017, 2:06 PM

                    @morozgrafix said in Npm start...:

                    @cowboysdude I managed to get it up and running locally on a super old system running Ubuntu 16.04.1 LTS. I had some trouble starting electron via SSH when running DISPLAY=:0 npm start, but npm start worked just fine

                    Here is a list of steps that got it running (i’m running node v6.9.4 and npm v4.1.1):

                    sudo apt-get install git
                    git clone https://github.com/MichMich/MagicMirror.git
                    curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
                    sudo apt-get install -y nodejs
                    node --version
                    curl -sL https://www.npmjs.com/install.sh | sudo -E bash -
                    npm --version
                    cd MagicMirror/
                    cp config/config.js.sample config/config.js
                    npm install
                    npm start
                    

                    Not sure if this will help. You can always try to run verbose mode npm start --verbose to see if there is any information that may lead you to finding a reason why it doesn’t start. It was very sluggish on my system, but this is a very old computer.

                    P.S. Sorry it took me a while to get to try it out and get back to you. It has been a very long and exhausting day.

                    Good luck.

                    When i follow these steps it says i have node V4.0.0 installed

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