Problems with npm install
Always, when I am trying to install the magic mirror it comes to this:
Installing dependencies ... npm WARN prefer global firstname.lastname@example.org should be installed with -g npm WARN prefer global email@example.com should be installed with -g npm WARN prefer global firstname.lastname@example.org should be installed with -g
and afterwards come this:
> email@example.com install /root/MagicMirror/node_modules/uws > node-gyp rebuild > build_log.txt 2>&1 || exit 0
and it stays for houers
I tryid it with Debian 8 and 9 on the rasp 3b with the autoinstaller. I am out of ideas. Maybe someone can help.
barnosch last edited by
npm install coffee-script -g
and then the rest of the apps in the warning
Didnt work out. Tomorrow will try again
@Djmixerno1 said in [Problems with npm install]
npm WARN prefer global firstname.lastname@example.org should be installed with -g npm WARN prefer global email@example.com should be installed with -g npm WARN prefer global firstname.lastname@example.org should be installed with -g
Those are just warnings and can be ignored. They won’t affect the operation of the mirror
Afters houers it is just crashing, nevermind which OS I am using. Can someone upload an image file of his own project? This would be very helpfull.
nevermind which OS I am using.
Can someone upload an image file of his own project? This would be very helpfull.
I’m sure it would be. However, there is an expectation that you will have to work at this. I struggled in the beginning, maybe more so than most, and people helped me, but only in the way of suggestions and directions. In which case, I will do the same.
My recommendation is start with a newly formatted SD card. Install Raspian Jessie on it. Once that is up and running, do a manual installation of MM. In other words, don’t use the single line auto installer. Download the zip file from github repo. Unzip it. Place the MagicMirror folder in your pi/ folder with your Downloads, Music folders, etc… In the terminal
cd MagicMirrorthen run
npm install. Create you config.js file as per standard instructions. Run your mirror.
You’ve spent many hours at this already? So have we all. What’s a couple more worth for you to have a working mirror?
Keep us posted
cowboysdude last edited by
You can do it!
When I started there wasn’t even CLOSE to this amount of support… I’d install get an error have to go out on the internet and figure out how to fix it… I spent HOURS and DAYS getting it working… you can do it! We’re all here to help!
Yeah, I remembered getting my raspberry. I saw this project, I build it with no Problems, but without the mirror stuff, only the software. Today, 2-3 years later, I cant even build the software. What a shame
What a shame
Don’t lose heart, friend. You can have it done in less than 2 hours if you follow my directions. I promise. Any warnings that appear during the dependency installation are just that, warnings. You can move on from there without installing them.
I found my mistake. Dont try to run this script with root permission!