Yes. That was what I meant. I did a npm install in all of the module folders. It seems like the system load has increased since the latest update.
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
J
Posts
-
RE: MM crashes after latest update
-
RE: MM crashes after latest update
Yes. I even did a git pull in all of the modules with package.json file.
-
MM crashes after latest update
I installed the latest update (v2.11) to MM but now it crashes after starting up. Sometimes it will be stable for 30 minutes or so but then it crashes again.
I am pretty good at searching but I can’t find a solution.
I have updated my node and I have deleted and rebuilt all of my node modules with no luck.
I would appreciate any help. Here is a copy of my last debug log
0 info it worked if it ends with ok 1 verbose cli [ '/home/pi/.nvm/versions/node/v10.19.0/bin/node', 1 verbose cli '/home/pi/.nvm/versions/node/v10.19.0/bin/npm', 1 verbose cli 'start', 1 verbose cli 'dev' ] 2 info using npm@6.13.4 3 info using node@v10.19.0 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.11.0~prestart: magicmirror@2.11.0 6 info lifecycle magicmirror@2.11.0~start: magicmirror@2.11.0 7 verbose lifecycle magicmirror@2.11.0~start: unsafe-perm in lifecycle true 8 verbose lifecycle magicmirror@2.11.0~start: PATH: /home/pi/.nvm/versions/node/v10.19.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/home/pi/.nvm/versions/node/v10.19.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games 9 verbose lifecycle magicmirror@2.11.0~start: CWD: /home/pi/MagicMirror 10 silly lifecycle magicmirror@2.11.0~start: Args: [ '-c', 10 silly lifecycle 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"' ] 11 silly lifecycle magicmirror@2.11.0~start: Returned: code: 1 signal: null 12 info lifecycle magicmirror@2.11.0~start: Failed to exec start script 13 verbose stack Error: magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/home/pi/.nvm/versions/node/v10.19.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 13 verbose stack at EventEmitter.emit (events.js:198:13) 13 verbose stack at ChildProcess.<anonymous> (/home/pi/.nvm/versions/node/v10.19.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:198:13) 13 verbose stack at maybeClose (internal/child_process.js:982:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 14 verbose pkgid magicmirror@2.11.0 15 verbose cwd /home/pi/MagicMirror 16 verbose Linux 4.19.113-v7+ 17 verbose argv "/home/pi/.nvm/versions/node/v10.19.0/bin/node" "/home/pi/.nvm/versions/node/v10.19.0/bin/npm" "start" "dev" 18 verbose node v10.19.0 19 verbose npm v6.13.4 20 error code ELIFECYCLE 21 error errno 1 22 error magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"` 22 error Exit status 1 23 error Failed at the magicmirror@2.11.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]