no problem, I should have looked at the console output earlier. would you just like to tell me which other port I can choose?
Read the statement by Michael Teeuw here.
Posts
-
RE: Magic mirror with 2 displays
-
RE: Magic mirror with 2 displays
There is an error in the second console output. This one:
listen EADDRINUSE: address already in use 128.0.0.1:8080 -
RE: Magic mirror with 2 displays
I have done that but it still uses 1 config file. I have found that it always uses the config file of the MagicMirror that I run first.
-
RE: Magic mirror with 2 displays
I used npm start to start both displays
-
RE: Magic mirror with 2 displays
I found the error, because I put the 2 screens on top of each other, not x but y = 1920.
But I have found that the magicmirror2 folder is listening for the config file of the magicmirror folder. How can I adjust this? -
RE: Magic mirror with 2 displays
Thanks for the quick respons
Yes, exact like that. -
RE: Magic mirror with 2 displays
@sdetweil I addded
electronOptions: {x: 1920}to my config file and I didn’t get an error but it still only shows up on the first screen. Am I doing something wrong? -
RE: Magic mirror with 2 displays
@sdetweil thanks for your quick and very complete answer. But do I understand that it is not possible to run the software on 2 screens? Could it be possible to run a separate magic mirror on each screen?
-
Magic mirror with 2 displays
hello everyone, I am making a Magic Mirror with an rpi4 and 2 screens that I place on top of each other. When I run the Magic Mirror software, it only shows on 1 screen. Is there a possibility to do this on the 2 screens?
-
how to update getTemplate()-method?
Hi everyone, I have a beginner’s question. I am making my own module with nunjucks. But I don’t find how to update the getTemplate () method. I know if you’re working with getDom you’re using updateDom (), but what about getTemplate ()?
-
RE: Problem with instalation on raspbian
@sdetweil I tried to run the entire script again and this time asked me for pm2. It worked and MagicMirror now works. Thank you very much for your help!
-
RE: Problem with instalation on raspbian
yes ~·install.log exist. So I think I used your script.
-
RE: Problem with instalation on raspbian
The program did not ask me to install pm2.
-
RE: Problem with instalation on raspbian
I did it and it was successful. But what do I do now to restart the MagicMirror software? It still doesn’t work with this:
cd MagicMirrornpm run startI’m using an rpi 4 for this project.
-
Problem with instalation on raspbian
Hello everyone,
I used the Magic Mirror website installation guide, but I got the error that my node.js version is not supported by Magic Mirror (it was the node.js version that was on the website: version 10. I don’t now). So I installed the latest version of node.js (version 12.18.2) with this command:curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -But then I got this error:
> magicmirror@2.12.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js sh: 1: ./node_modules/.bin/electron: not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.12.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-07-06T17_40_44_705Z-debug.logCan anyone help me?