Read the statement by Michael Teeuw here.
Updated MM and now i get white screen with "ERR_CONNECTION_REFUSED"
-
-
@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!
-