Read the statement by Michael Teeuw here.
Please help
-
have you tried a sudo apt-get update ?
It might be worth giving that a try - afterwards, reboot then try re-running npm start again -
@darrene said in Please help:
sudo apt-get update
After the sudo apt-get update again i get following error again:
(connection via SSH from Mac / my OS is Raspbian Jessie)pi@magicmirror:~ $ cd MagicMirror
pi@magicmirror:~/MagicMirror $ npm startmagicmirror@2.0.0 start /home/pi/MagicMirror
electron js/electron.jsnpm ERR! Linux 4.4.26-v7+
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! magicmirror@2.0.0 start:electron js/electron.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron js/electron.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs magicmirror
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls magicmirror
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log
pi@magicmirror:~/MagicMirror $ -
@leisi said in Please help:
@darrene said in Please help:
sudo apt-get update
After the sudo apt-get update again i get following error again:
(connection via SSH from Mac / my OS is Raspbian Jessie)pi@magicmirror:~ $ cd MagicMirror
pi@magicmirror:~/MagicMirror $ npm startmagicmirror@2.0.0 start /home/pi/MagicMirror
electron js/electron.jsnpm ERR! Linux 4.4.26-v7+
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! magicmirror@2.0.0 start:electron js/electron.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron js/electron.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs magicmirror
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls magicmirror
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log
pi@magicmirror:~/MagicMirror $reboot would naturally also done after the update…
-
@leisi said in Please help:
@darrene said in Please help:
sudo apt-get update
After the sudo apt-get update again i get following error again:
(connection via SSH from Mac / my OS is Raspbian Jessie)pi@magicmirror:~ $ cd MagicMirror
pi@magicmirror:~/MagicMirror $ npm startI lost count on how many times this has come up already. You can not start the mirror using that command when you are remotely SSHd into the rpi. The rpi simply does not know what monitor to use, yours, or the one connected to it. You have to tell it that:
DISPLAY=:0 npm startUse the correct command, and then figure out what the problems are.
-
@KirAsh4 oh fucking, yes, you´re right, thanks very much for your help.
-
@leisi said in Please help:
@KirAsh4 oh fucking, yes, you´re right, thanks very much for your help.
While I find it humorous please be careful with replies… we don’t know how many youngsters we have roaming around here. Appreciate it! :)
-
@cowboysdude ok, pardon, my mistkake, i´ll do it next time, i´m so proud of my new magicmirror…
-
@leisi said in Please help:
@cowboysdude ok, pardon, my mistkake, i´ll do it next time, i´m so proud of my new magicmirror…
LOL I’m happy you are getting it working!! It’s a pretty awesome feeling, isn’t it? :)
Anytime you need help please feel free to ask and there are many people here that love to help!
No worries, no harm done, you made no mistake it happens and it’s okay!
Glad you’re here!
-
With me still the same error synonymous with the command DISPLAY =: 0 npm start but the same error
-
@moris do you tried it from the terminal on raspberry or via Mac or Windows? Try this command only in raspberrys terminal…
-
@leisi said in Please help:
@moris do you tried it from the terminal on raspberry or via Mac or Windows? Try this command only in raspberrys terminal…
On the raspi terminal
-
I log in cd MagicMirror
In cd MagicMirror write DISPLAY=:0 npm start is this korrekt? -
@moris yes, my mirror starts with these commands on raspberrys terminal
-
By me the same error list. Somewhere is an error or is not installed what can it be?
-
So now I have pixel aufpspielen and behold there because it works. Now I have to install module sorry for the stupid question but how do I get it? On the readme page is the man config / config.js must open and should enter only where is the config.js? And how should I enter? Can you give me an example for clock?
-
@moris The basic installation of MagicMirror includes a sample
config.jsfile. It’s located at~/MagicMirror/config/config.sample.jsIf you copy or rename that file to
config.jsthat should help get you started.cp ~/MagicMirror/config/config.sample/js ~/MagicMirror/config/config.jsOnce you have it copied, you can restart your mirror and it should use that simple config.js to run the mirror software.Installing other modules is pretty simple. Navigate to the modules directory:
cd ~/MagicMirror/modulesand then clone the module repositorygit clone [module url]. Follow the directions at the GitHub repository for that module in case there is anything special about installing that module.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login