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.

    Advise for a voice assistant

    Scheduled Pinned Locked Moved General Discussion
    21 Posts 7 Posters 9.3k Views 9 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.
    • B Offline
      bibi
      last edited by

      @ejay-ibm, i wanted to follow your good practice and update MM to latest (ok) and OS to stretch (ok) but now it pm2 won’t start MM automatically as it did in the past… would kindly help me to solve this issue before i can install mk2?
      thx alot for any help as well

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @bibi
        last edited by

        @bibi

        https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • B Offline
          bibi
          last edited by

          @Mykle1, thx for your post. It appears that when i want to check npm version, the system issues :

          pi@raspberrypi:~ $ npm -v
          -bash: npm: command not found
          

          Therefore something went wrong during the system upgrade to stretch.
          If i am not wrong npm comes along with nodejs which i have current version

          pi@raspberrypi:~ $ nodejs -v
          v8.11.1
          

          I think i would just install it again but i don’t know if I should do it from /home/pi or from inside /home/pi/MagicMirror ?

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @bibi
            last edited by

            @bibi said in Advise for a voice assistant:

            I think i would just install it again but i don’t know if I should do it from /home/pi or from inside /home/pi/MagicMirror ?

            pi@raspberrypi:~ Here!

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • B Offline
              bibi
              last edited by

              finally what i did and what did work is :)

              sudo apt-get remove nodered -y
              sudo apt-get remove nodejs nodejs-legacy -y
              sudo apt-get remove npm -y
              sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
              sudo apt-get install -y nodejs
              node -v
              npm -v
              
              1 Reply Last reply Reply Quote 0
              • B Offline
                bibi
                last edited by bibi

                Hi @ejay-ibm, was a bit busy last days… couldn’t work on MM. I finally install both MMM-Hotword and Mk2. Works fine but need some fine tuning. Maybe you or anybody can guide/help me on the following:

                Mk2 side, i still need to understand how it works and how i can “interact” with the other modules… If you have a simple example to show how to “link” Mk2 with any other modules, it would be very helpful!
                As usual thx to all for always supporting the community!

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