Read the statement by Michael Teeuw here.
Third-Party Module - how to get help?
-
@ember1205 node_help is the build in module,
sounds like u did an npm install, even tho not needed (and finds a bug or new feature we don’t want)
recover with this
cd ~/MagicMirror git checkout modules/node_modules/node_helper/index.js
-
@sdetweil said in Third-Party Module - how to get help?:
git checkout modules/node_modules/node_helper/index.js
yeah, I get into the habit of installing add-ons this way and I did the npm install.
Your fix cleaned it right up and it started up. But, guess what? Out of memory again.
Seems that I have bigger issues here…
-
@ember1205 show me the output of
node-v npm -v lsb_release -a uname -a
and other than image, you are running default modules, correct?
I’m gonna be out for a couple hours, running xmas errands. will try to look in on my phone
-
pi@raspberrypi:~ $ node -v v10.17.0
pi@raspberrypi:~ $ npm -v 6.11.3
pi@raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
-
@sdetweil said in Third-Party Module - how to get help?:
and other than image, you are running default modules, correct?
I have installed your MMM-ImagesPhotos and MMM-BackgroundSlideshow. Even paring the configuration down to ONLY one third-party module running, it will die unless I have the http cache disabled.
I have changed the swap size from the default of 100 to 250 and when it crashed, there was only a small portion of swap being used.
-
@ember1205 hm
my uname -a
Linux raspberrypi4 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
we have different kernels… wonder why
just got the pi4 yesterday -
@sdetweil Possibly because you’re running on a 4 and I’m on a 3?
-
are u using pm2 to manage? if so, do a pm2 logs --lines=100 >somefile
I’d like to see the error
-
@ember1205 ok, from my pi3
Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
-
I just did an apt-get update and apt-get upgrade. I then flushed the PM2 logs and restarted. When it crashes again, I’ll post the log info as you asked.