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

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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
18 Posts 3 Posters 5.0k 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.
  • B Offline
    blake_northrup
    last edited by Feb 13, 2019, 11:07 PM

    I followed all of the instructions, but when I get to the npm install from within the MagicMirror directory, I get an error that states: -bash: npm: command not found. I have searched multiple sites, and cannot find anything on this.

    B M 2 Replies Last reply Feb 13, 2019, 11:29 PM Reply Quote 0
    • B Offline
      blake_northrup @blake_northrup
      last edited by blake_northrup Feb 13, 2019, 11:33 PM Feb 13, 2019, 11:29 PM

      Just for reference, this is what version of Node I have installed. This is a really old, single core computer. Maybe it won’t run properly on here, but just wanted to check.

      nodejs/stable,now 8.11.1~dfsg-2~bpo9+1 i386 [installed]

      CPU INFO:
      cat /proc/cpuinfo
      processor : 0
      vendor_id : CentaurHauls
      cpu family : 6
      model : 9
      model name : VIA Nehemiah
      stepping : 8
      cpu MHz : 999.872
      cache size : 64 KB
      physical id : 0
      siblings : 1
      core id : 0
      cpu cores : 1
      apicid : 0
      initial apicid : 0
      fdiv_bug : no
      f00f_bug : no
      coma_bug : no
      fpu : yes
      fpu_exception : yes
      cpuid level : 1
      wp : yes
      flags : fpu vme de pse tsc msr cx8 sep mtrr pge cmov pat mmx fxsr sse rng rng_en ace ace_en
      bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
      bogomips : 1999.74
      clflush size : 32
      cache_alignment : 32
      address sizes : 32 bits physical, 32 bits virtual
      power management:

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @blake_northrup
        last edited by Feb 14, 2019, 1:11 AM

        @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

        B 1 Reply Last reply Feb 14, 2019, 1:51 PM Reply Quote 0
        • B Offline
          blake_northrup @Mykle1
          last edited by Feb 14, 2019, 1:51 PM

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

          M 1 Reply Last reply Feb 15, 2019, 1:54 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @blake_northrup
            last edited by Feb 15, 2019, 1:54 AM

            @blake_northrup

            Then it would seem you need to install npm

            Create a working config
            How to add modules

            B 1 Reply Last reply Feb 18, 2019, 2:21 PM Reply Quote 1
            • B Offline
              blake_northrup @Mykle1
              last edited by Feb 18, 2019, 2:21 PM

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

              B 1 Reply Last reply Feb 18, 2019, 3:37 PM Reply Quote 0
              • B Offline
                bhepler Module Developer @blake_northrup
                last edited by Feb 18, 2019, 3:37 PM

                @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
                • B Offline
                  blake_northrup
                  last edited by Feb 18, 2019, 8:19 PM

                  @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. :)

                  M 1 Reply Last reply Feb 18, 2019, 8:25 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @blake_northrup
                    last edited by Mykle1 Feb 18, 2019, 8:25 PM Feb 18, 2019, 8:25 PM

                    @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

                    B 1 Reply Last reply Feb 18, 2019, 8:26 PM Reply Quote 0
                    • B Offline
                      blake_northrup @Mykle1
                      last edited by Feb 18, 2019, 8:26 PM

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

                      M 1 Reply Last reply Feb 18, 2019, 8:27 PM 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