Read the statement by Michael Teeuw here.
Unable to Install on RPi 3 b - unable to install dependencies
-
I am running a new RPi, the latest Raspian Stretch w/ Desktop. I get through to the point of installing dependencies and get a long list of errors. I have googled the heck out of this and the problem appears to have been reported before and related to npm.
Any help appreciated and happy to provide more details if needed.
-
@valid8r - My suggestion is to install the latest version of node separately and then run the installation script. Try
npm install npm@latest -g
to install the latest version of the Node Package Manager (npm).Once that completes, try the MagicMirror installations script again and let us know what happens.
cd ~ bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
-
@bhepler Thanks! That worked.
-
@bhepler Hi so this is my first time working with a Raspberry Pi (and I have no programming experience) and I followed the instructions by Grensom on his youtube video, but I got the same issue: “unable to install dependencies!”
I tried ‘npm install npm@latest -g’ in the terminal, but all I got back was:
‘bash: npm: command not found’Any suggestions? (once again, please instruct me like a clueless person calling technical support haha)
TIA
-
@dæmoneyes Google how to install npm
-
In case you didn’t find a solution yet, a user by the name sdetweil just helped me with a similar problem with my RPi 3 B+ running the latest Rasbian Stretch.
Here is the link to that discussion for everyone else who is stuck at this step too:
https://forum.magicmirror.builders/topic/9636/stuck-at-unable-to-install-dependencies/8?page=1