UNSOLVED Problems getting setup on Raspberry Pi Desktop (for PC and Mac)
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 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]
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
I get an error that states: -bash: npm: command not found.
What version of npm?
@mykle1 Hey mkyle1, not sure. I get this error every time I try to run the npm command:
-bash: npm: command not found
Then it would seem you need to install npm
@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 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.
What OS are you running on that laptop? I’ve gotten single core laptops to run MM under ubuntu.
For what it’s worth:
@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.