Read the statement by Michael Teeuw here.
Problems getting setup on Raspberry Pi Desktop (for PC and Mac)
-
@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. -
@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.
-
@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. :)
-
@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
-
@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.
-
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
-
@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.
-
Good luck mate. Let me know how you make out