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.

    Magic Mirror Mac Mini npm start

    Scheduled Pinned Locked Moved General Discussion
    18 Posts 3 Posters 5.7k 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.
    • D Offline
      drx1984 @sdetweil
      last edited by

      @sdetweil 0_1558126258069_pm2_list.JPG
      ok so?

      1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @drx1984
        last edited by

        @drx1984 I am sure the mm setup failed when it did the pm2 setup, as it is hard coded to user pi.

        I think if you do

        pm2 start ~/MagicMirror/installers/mm.sh
        pm2 save
        

        It will work on boot

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @sdetweil
          last edited by

          @sdetweil did the mirror app start?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 2 Replies Last reply Reply Quote 0
          • D Offline
            drx1984 @sdetweil
            last edited by

            @sdetweil said in Magic Mirror Mac Mini npm start:

            did the mirror app start?

            Yes starts, Now I try to restart the MacMini and see if Magic Mirror starts automatically

            1 Reply Last reply Reply Quote 0
            • D Offline
              drx1984 @sdetweil
              last edited by

              @sdetweil pity MagicMirror does not start automatically after reboot

              1 Reply Last reply Reply Quote 0
              • D Offline
                drx1984
                last edited by

                Does anyone have Magic Mirror on the Mac Mini on the run???
                How does she do that with the autostart??

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by

                  forget pm2. this could be a help.
                  https://stackoverflow.com/questions/6442364/running-script-upon-login-mac

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    drx1984 @Guest
                    last edited by

                    @Sean
                    thanks, do I need to write a script?

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @drx1984
                      last edited by

                      @drx1984
                      Wait a second. After trial on my mac, I’ll post for you. (And I think pm2 could also be available with launchd)

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        drx1984 @Guest
                        last edited by

                        @Sean ok, that would be very nice

                        ? 1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @drx1984
                          last edited by A Former User

                          @drx1984
                          Ok. I found incredibly simple solution.

                          sudo pm2 startup darwin
                          

                          That’s all. It is already served by pm2 since https://github.com/Unitech/pm2/pull/936
                          (It will take a few seconds until MM starts from bootup)

                          D 2 Replies Last reply Reply Quote 0
                          • D Offline
                            drx1984 @Guest
                            last edited by

                            @Sean said in Magic Mirror Mac Mini npm start:

                            sudo pm2 startup darwin

                            ok thanks the command: sudo pm2 startup darwin tonight test and report you.
                            Many Thanks

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              drx1984 @Guest
                              last edited by

                              @Sean I just tried, unfortunately I get an error message. Do you know how I can solve this?
                              Thank you

                              0_1558465101765_pm2_error.JPG

                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @drx1984
                                last edited by

                                @drx1984 0_1558592102911_pm2.png
                                Hmmm… For me it works.
                                Check ~/Library/LaunchAgents/directory whether exists or not.
                                You can save your xml (under Template) totarget path by manual then execute command list

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 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