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

Magic Mirror Mac Mini npm start

Scheduled Pinned Locked Moved General Discussion
18 Posts 3 Posters 3.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.
  • S Offline
    sdetweil @drx1984
    last edited by May 17, 2019, 8:51 PM

    @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 May 17, 2019, 8:52 PM Reply Quote 0
    • S Offline
      sdetweil @sdetweil
      last edited by May 17, 2019, 8:52 PM

      @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 May 17, 2019, 8:55 PM Reply Quote 0
      • D Offline
        drx1984 @sdetweil
        last edited by May 17, 2019, 8:55 PM

        @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 May 17, 2019, 8:57 PM

          @sdetweil pity MagicMirror does not start automatically after reboot

          1 Reply Last reply Reply Quote 0
          • D Offline
            drx1984
            last edited by May 21, 2019, 9:22 AM

            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 May 21, 2019, 9:42 AM

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

              D 1 Reply Last reply May 21, 2019, 10:04 AM Reply Quote 0
              • D Offline
                drx1984 @Guest
                last edited by May 21, 2019, 10:04 AM

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

                ? 1 Reply Last reply May 21, 2019, 10:06 AM Reply Quote 0
                • ? Offline
                  A Former User @drx1984
                  last edited by May 21, 2019, 10:06 AM

                  @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 May 21, 2019, 10:07 AM Reply Quote 0
                  • D Offline
                    drx1984 @Guest
                    last edited by May 21, 2019, 10:07 AM

                    @Sean ok, that would be very nice

                    ? 1 Reply Last reply May 21, 2019, 10:40 AM Reply Quote 0
                    • ? Offline
                      A Former User @drx1984
                      last edited by A Former User May 21, 2019, 10:45 AM May 21, 2019, 10:40 AM

                      @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 May 21, 2019, 11:11 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/18
                        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