Read the statement by Michael Teeuw here.
Cannot find module 'node-fetch' error with MMM-SoccerLiveScore
-
@codac seen this happening more
in the container again
in the MagicMirror folder donpm install electron@27.2.0
-
@sdetweil
sorry for the hussle, but this seems to never end :anguished_face:after running
npm install electron@27.2.0
I tried to restart MM:
root@04492d039b9f:/opt/magic_mirror# DISPLAY=:0 npm restart > magicmirror@2.26.0 restart > npm stop --if-present && npm start > magicmirror@2.26.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js /opt/magic_mirror/node_modules/electron/dist/electron: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
-
@codac yeh, seems that electron needs something from the container
do you know which container you are using?@karsten13 can u look at this
-
he must restart the container, this cannot be done from inside the container
so how was the container started? With
docker compose
oderdocker run ...
or? -
@karsten13 this
libgobject-2.0.so.0: cannot open shared object file: No such file or directory
will be fixed by container restart ?
-
I don’t now, the old electron process is still running
but we now nothing, how he started, in server only or with electron, which architecture, which host os, which hardware …
-
docker run
-
@sdetweil
This error only comes up when trying to restart MM inside the docker.
When restarting the docker, this error wont show up. -
@karsten13
This is a server only setup. Docker runs on “Container Manager” of Synology. The Synology is a DS420+ running on an INTEL Celeron J4025. The OS is DSM of course. -
and how do you start/stop the container? With a WebUI or per command line?