Read the statement by Michael Teeuw here.
Failed to install dependencies RPI3 B+
-
After flashing my rpi3 B+ with 2018-11-13-raspbian-stretch-full and proceded to run the one-line bash to install MagicMirror2, I got a message of failed to install dependencies. Please help how to uninstall or repair installation. Thanks.
-
First thing I would try is changing directories into your MagicMirror folder. Open your terminal and enter the following:
cd MagicMirror
then
npm install
That may be all you need
-
@Mykle1 Thanks, but …npm command not found
-
Yes, npm isn’t in the base stretch install.
Run
sudo apt-get install npm
Then do the npm install from the mm folder
-
Ahh, I assumed that node and npm were already installed. My bad
-
@sdetweil said in Failed to install dependencies RPI3 B+:
Yes, npm isn’t in the base stretch install.
Run
sudo apt-get install npm
Then do the npm install from the mm folder
npm is installed now , could you elaborate on “then do the npm install from the mm folder”
-
Open a terminal window.
Change directory by typing cd MagicMirror and enter.
Then type npm install and enter.
-
@Mykle1 - They were included in previous Raspbian distributions. Ever since about December or so, the installation script hasn’t been working.
-
@fredo55 said in Failed to install dependencies RPI3 B+:
from the mm folder”
mm is short for MagicMirror. Too long to type over and over!
-
Thank you guys, I’ll start from scratch, something else went wrong pm2 giving me a bunch of errors.