Read the statement by Michael Teeuw here.
node_helper.js does not work.
-
@emrhssla show me output of
ls /home/pi/Desktop/Beauty/MagicMirror/config -laF
-
pi@raspberrypi:~ $ ls /home/pi/Desktop/Beauty/MagicMirror/config -laF
total 20
drwxr-xr-x 2 pi pi 4096 Apr 15 22:18 ./
drwxr-xr-x 17 pi pi 4096 Apr 15 22:16 …/
-rw-r–r-- 1 pi pi 2960 Apr 15 2019 config.js
-rw-r–r-- 1 pi pi 2623 Apr 15 22:11 config.js.sample
-rw-r–r-- 1 pi pi 13 Apr 15 22:29 .gitignore -
@emrhssla ok, trying to replicate… moved mine to desktop/MagicMirror and it worked ok,
working on installing that repo -
@sdetweil I don’t see what the problem is.
After upgrading the npm and node to the latest version, I installed the Magic Mirror, and I wonder if that’s the problem.
And I did the npm install python3 and I don’t think this is the cause.
-
@emrhssla will advise once I see it myself
-
@emrhssla which MM are u working in?
/home/pi/Desktop/Beauty (see its config/config.js
or
/home/pi/Desktop/Beauty/MagicMirror one? (see ITS config/config.jsthey are different (u have MagicMirror installed INSIDE a MagicMirror folder)
to fix this, in /home/pi/Desktop/Beauty domv MagicMirror ..
now you will have
/home/pi/Desktop/Beauty and /home/pi/Desktop/MagicMirror
-
@sdetweil
I first ran a magic mirror at /home/pi/Desktop/MagicMirror . But after failing, another one was installed. Running /home/pi/Desktop/Beauty/MagicMirror gave the same result.In conclusion, there are two magic mirrors: /home/pi/Desktop/MagicMirror and /home/pi/Desktop/Beauty/MagicMirror.
I’ll try it tomorrow, but maybe it doesn’t matter.
-
@emrhssla when the mirror app is running, can u access from another system at http://mirror_ip:mirror_port
-
@sdetweil said in node_helper.js does not work.:
when the mirror app is running, can u access from another system at http://mirror_ip:mirror_port
I solved it!!
A month ago, /fi/MagicMirror was installed.
/pi/Magicmirror puts the code above, so node_helper.js work well.But I don’t know why /pi/Desktop/Beauty/Magicmirror isn’t working. Is this because of /pi/Magicmirror?
Thanks to you, I solved it. Thank you all the time.
-
@emrhssla said in node_helper.js does not work.:
But I don’t know why /pi/Desktop/Beauty/Magicmirror isn’t working. Is this because of /pi/Magicmirror?
because its a mess with all that macOS level binaries installed…
i had to
rm -rf ~/Desktop/Beauty/node_modules/electron cp ~/MagicMirror/node_modules/electron ~/Desktop/Beauty/node_modules
to get the UI to show on the pi…
i tested before by executing Electron to show some page
in a terminal window ON THE PI
do~/Desktop/Beauty/node_modules/electron/dist/electron http://cnn.com
this should open electron to show some web page
initially I got a frame, with empty insides