Read the statement by Michael Teeuw here.
Positions not working
-
@sdetweil Just did that, still haven’t got position working
-
@Joshsamuel did u examine the error in index.html as suggested>
what does the log look like, both the console log (or pm2 logs --lines=100)
and the developer window console?you have broken code, so nothing will be working right
-
npm ERR! Error: EACCES: permission denied, access ‘/usr/lib/node_modules/npm/node_modules/graceful-fs’
npm ERR! { [Error: EACCES: permission denied, access ‘/usr/lib/node_modules/npm/node_modules/graceful-fs’]npm itself is often installed with sudo priviledge (like here, hence “permission denied”).
Therefore you’d need to dosudo npm install -g npm
-
By the way, the regions are:
top_bar
bottom_bar
top_left
bottom_left
top_center
bottom_center
top_right
bottom_right
upper_third
lower_third
middle_center
fullscreen_above
fullscreen_below -
@lavolp3 I ran the npm install in the MM directory and the update, no error messages this time, but position still doesn’t work
pi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ sudo npm install npm WARN lifecycle magicmirror@2.11.0~install: cannot run in wd magicmirror@2.11.0 echo "Installing vendor files ... npm WARN lifecycle " && cd vendor && npm install --loglevel=error (wd=/home/pi/MagicMirror) npm WARN lifecycle magicmirror@2.11.0~postinstall: cannot run in wd magicmirror@2.11.0 npm run install-fonts && echo "MagicMirror installation finished successfully! npm WARN lifecycle " (wd=/home/pi/MagicMirror) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 1082 packages in 20.995s 77 packages are looking for funding run `npm fund` for details found 3 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details pi@raspberrypi:~/MagicMirror $ sudo npm install -g npm /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js + npm@6.14.5 updated 5 packages in 38.973s
-
Hi all, just realised that the positions are working for me but the specific module (MMM-ATM which supposedly works well anywhere) has issues when placed in the middle.
Moving the news bar and other modules to lower_third or middle_center works fine, definitely should’ve tested this from the beginning.
Thanks for all the help from everyone!
-
@Joshsamuel glad you got it fixed.