A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • PM2: Four instances using 100 % CPU

    System
    1
    0 Votes
    1 Posts
    1k Views
    J

    Hallo :)

    I know it’s not how it’s supposed to be but I use a Pi Zero running Stretch lite. I start the Mm using „node /serveronly“ in a .sh script and launch chromium afterwards.

    Typing in these commands works perfectly fine. Everything takes some time to boot, but then, it just works.

    To start it after bootup, I use Pm2. It takes some time but it works. The problem is: the Pi‘s CPU is at 100 % all the time since node /serveronly runs 4 times and each needs between 15 and 20 %.

    How can I fix that? Any idea?

  • RPi Zero Troubleshooting

    Solved Troubleshooting
    2
    0 Votes
    2 Posts
    2k Views
    M

    Did some digging in the forums and found that

    npm install --unsafe-perm

    Looks to have fixed my issue!

  • 18 Votes
    204 Posts
    380k Views
    L

    @asaxena11

    sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb sudo dpkg -i node_latest_armhf.deb sudo apt-get install npm

    My problem:
    I made fresh installation of whole magic mirror about 2 weeks ago because I had a problem with screen size - have huge black part of screen which is “covering” right modules.
    I tried electronOptions, modifiyng the /boot/config.txt and without luck.
    I am running 2.4.1 on fresh installation of Stretch Lite