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.

    Problems getting setup on Raspberry Pi Desktop (for PC and Mac)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    18 Posts 3 Posters 5.9k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @blake_northrup
      last edited by

      @blake_northrup said in Problems getting setup on Raspberry Pi Desktop (for PC and Mac):

      I get an error that states: -bash: npm: command not found.

      What version of npm?

      npm -v

      Create a working config
      How to add modules

      blake_northrupB 1 Reply Last reply Reply Quote 0
      • blake_northrupB Offline
        blake_northrup @Mykle1
        last edited by

        @mykle1 Hey mkyle1, not sure. I get this error every time I try to run the npm command:
        -bash: npm: command not found

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

          @blake_northrup

          Then it would seem you need to install npm

          Create a working config
          How to add modules

          blake_northrupB 1 Reply Last reply Reply Quote 1
          • blake_northrupB Offline
            blake_northrup @Mykle1
            last edited by

            @mykle1 Thanks for the reply mkyle1. See below what I get when trying to install NPM:

            sudo apt-get install nodejs npm
            Reading package lists… Done
            Building dependency tree
            Reading state information… Done
            Note, selecting ‘nodejs:amd64’ instead of ‘npm:amd64’
            nodejs is already the newest version (8.11.1~dfsg-2~bpo9+1).
            Some packages could not be installed. This may mean that you have
            requested an impossible situation or if you are using the unstable
            distribution that some required packages have not yet been created
            or been moved out of Incoming.
            The following information may help to resolve the situation:

            The following packages have unmet dependencies:
            nodejs : Conflicts: nodejs:amd64 but 10.15.1-1nodesource1 is to be installed
            nodejs:amd64 : Depends: python-minimal:amd64 but it is not going to be installed
            Conflicts: nodejs but 8.11.1~dfsg-2~bpo9+1 is to be installed
            E: Unable to correct problems, you have held broken packages.

            bheplerB 1 Reply Last reply Reply Quote 0
            • bheplerB Offline
              bhepler Module Developer @blake_northrup
              last edited by

              @blake_northrup Yikes. It looks like something went wrong with your Node installation. Thankfully, you’re not the first person to encounter this. There’s already a thread on this forum discussing it.

              1 Reply Last reply Reply Quote 1
              • blake_northrupB Offline
                blake_northrup
                last edited by

                @bhepler Thank you bhelper. I will check this out. In the meantime, I think I will retire this ancient computer, and use it as a display piece. :)

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

                  @blake_north

                  What OS are you running on that laptop? I’ve gotten single core laptops to run MM under ubuntu.

                  For what it’s worth:

                  https://forum.magicmirror.builders/topic/6994/mm-and-ubuntu-made-for-each-other

                  Create a working config
                  How to add modules

                  blake_northrupB 1 Reply Last reply Reply Quote 0
                  • blake_northrupB Offline
                    blake_northrup @Mykle1
                    last edited by

                    @mykle1 It’s actually on old mini PC. To give you an idea of how old it is, Windows XP was running on it previously.

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

                      @blake_northrup

                      Well, if you’re willing to retire it then you might not mind wiping it clean and installing ubuntu on it, Then install MM. Just a thought.

                      EDIT:

                      In other words, JUST ubuntu as your os

                      Create a working config
                      How to add modules

                      blake_northrupB 1 Reply Last reply Reply Quote 0
                      • blake_northrupB Offline
                        blake_northrup @Mykle1
                        last edited by

                        @mykle1 I will give that a try. It’s a very small computer, so would fit nicely in certain places. I appreciate your help, and I will take a look at your other post to see if I can give it one last shot.

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