Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

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

    Troubleshooting
    3
    18
    1813
    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.
    • blake_northrup
      blake_northrup last edited by

      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.

      blake_northrup Mykle1 2 Replies Last reply Reply Quote 0
      • blake_northrup
        blake_northrup @blake_northrup last edited by blake_northrup

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

          blake_northrup 1 Reply Last reply Reply Quote 0
          • blake_northrup
            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

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

              @blake_northrup

              Then it would seem you need to install npm

              blake_northrup 1 Reply Last reply Reply Quote 1
              • blake_northrup
                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.

                bhepler 1 Reply Last reply Reply Quote 0
                • bhepler
                  bhepler Project Sponsor @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_northrup
                    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. 🙂

                    Mykle1 1 Reply Last reply Reply Quote 0
                    • Mykle1
                      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

                      blake_northrup 1 Reply Last reply Reply Quote 0
                      • blake_northrup
                        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.

                        Mykle1 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy