Read the statement by Michael Teeuw here.
Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED"
-
@onis_uk how did u update?
-
@sdetweil SSH’ed to the MM folder then ran git pull && npm install…
Did I screw up my install?
-
@onis_uk anyone…?
-
-
@sdetweil no it’s not that… I get a white browser screen that is saying it can’t connect to the page!
-
@onis_uk so, tell me more… what pi? sounds like pi 0?
if using pm2, then
pm2 stop all pm2 flush cd ~/MagicMirror npm run config:check -
@sdetweil said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":
npm run config:check
yes running in a Pi zero!
magicmirror@2.18.0 config:check /home/pi/MagicMirror
node js/check_config.js/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2359
const require$1 = Module.createRequire((typeof document === ‘undefined’ ? new (require(‘u’ + ‘rl’).URL)(‘file:’ + __filename).href : (document.currentScript && document.currentScript.src || new URL(‘eslintrc.cjs’, document.baseURI).href)));
^TypeError: Module.createRequire is not a function
at Object. (/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2359:26)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Module.require (internal/modules/cjs/loader.js:723:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (/home/pi/MagicMirror/node_modules/eslint/lib/cli-engine/cli-engine.js:33:5)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:827:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.18.0 config:check:node js/check_config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.18.0 config:check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-01-17T13_53_04_242Z-debug.log -
@onis_uk said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":
const require$1 = Module.createRequire((typeof document === ‘undefined’ ? new (require(‘u’ + ‘rl’).URL)(‘file:’ + __filename).href : (document.currentScript &&
-
@sdetweil said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":
@onis_uk said in Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED":
const require$1 = Module.createRequire((typeof document === ‘undefined’ ? new (require(‘u’ + ‘rl’).URL)(‘file:’ + __filename).href : (document.currentScript &&
ok thanks! looks like I only had version 11.14 installed, just updating now
-
@sdetweil I cant seem to update node beyond 11.15, any ideas why??
pi@raspberrypi:~ $ sudo n latest
installing : node-v11.15.0
mkdir : /usr/local/n/versions/node/11.15.0
fetch : https://nodejs.org/dist/v11.15.0/node-v11.15.0-linux-armv6l.tar.xz
installed : v11.15.0 (with npm 6.7.0) -
@onis_uk armv6… hm… will have to work on this later today.
off to pick up grandson…
-
@sdetweil ok many thanks!
-
-
@sdetweil Still just get a ton of errors, looks like I might just have to format and start again :anxious_face_with_sweat:
The fragility of MM is what kills it for me, one update and its all messed up, too many dependencies and fussy stuff going on, makes it so hard for the average user to deal with.
-
@onis_uk pi0 has been kicked to the side by the internet community, harder to find stuff still working on armv6l
nothing to do with mm
-
@onis_uk the latest pi os also installs code that doesn’t work on pi0… chrome and firefox
-
@sdetweil I’ve had MM for well over 2 years now and its always been like this to be fair, every time I’ve updated its broken it…
-
@onis_uk yes, thats why I made the script for upgrade
but this time is worse
-
@sdetweil Thank you for your help anyway!
-
@onis_uk I have just updated the install and upgrade scripts to handle all this pi0w broken stuff…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login