what's with my mirror
-
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'rebuild' ] 2 info using npm@6.14.12 3 info using node@v10.24.1 4 verbose stack Error: missing script: rebuild 4 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:155:19) 4 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:63:5 4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:116:5 4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:436:5 4 verbose stack at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:391:45) 4 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:434:3) 4 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:161:5) 4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:382:12 4 verbose stack at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:123:16 4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3) 5 verbose cwd /home/pi/MagicMirror 6 verbose Linux 5.10.17-v7l+ 7 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "rebuild" 8 verbose node v10.24.1 9 verbose npm v6.14.12 10 error missing script: rebuild 11 verbose exit [ 1, true ]
-
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.15.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [16.05.2021 09:33.05.286] [LOG] Starting MagicMirror: v2.15.0 [16.05.2021 09:33.05.291] [LOG] Loading config ... [16.05.2021 09:33.05.298] [LOG] Loading module helpers ... [16.05.2021 09:33.07.547] [LOG] Initializing new module helper ... [16.05.2021 09:33.07.549] [LOG] Module helper loaded: MMM-GoogleAssistant [16.05.2021 09:33.07.686] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module '@bugsounet/screen' Require stack: - /home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - [16.05.2021 09:33.07.687] [LOG] Loading module helpers ... [16.05.2021 09:33.07.688] [LOG] Initializing new module helper ... [16.05.2021 09:33.07.688] [LOG] Module helper loaded: MMM-GoogleAssistant [16.05.2021 09:33.07.691] [ERROR] App threw an error during load [16.05.2021 09:33.07.693] [ERROR] Error: Cannot find module '@bugsounet/screen' Require stack: - /home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:972:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12738) at Module.require (internal/modules/cjs/loader.js:1032:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:11:16) at Module._compile (internal/modules/cjs/loader.js:1152:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) [16.05.2021 09:33.07.694] [ERROR] Whoops! There was an uncaught exception... [16.05.2021 09:33.07.704] [ERROR] Error: Cannot find module '@bugsounet/screen' Require stack: - /home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:972:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12738) at Module.require (internal/modules/cjs/loader.js:1032:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:11:16) at Module._compile (internal/modules/cjs/loader.js:1152:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] } [16.05.2021 09:33.07.709] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [16.05.2021 09:33.07.710] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [16.05.2021 09:33.07.984] [LOG] Launching application. [16.05.2021 09:33.43.253] [LOG] Shutting down server... [16.05.2021 09:33.43.258] [LOG] Stopping module helper: MMM-GoogleAssistant [16.05.2021 09:33.43.259] [LOG] Stopping module helper: MMM-GoogleAssistant
-
just update A2D …
-
pi@raspberrypi:~/MagicMirror/modules/MMM-Assistant2Display $ npm run update > MMM-Assistant2Display@2.6.4 update /home/pi/MagicMirror/modules/MMM-Assistant2Display > installer/update.sh Welcome to A2D updater ! Updating... HEAD is now at 0012d17 Librespot #Issue : change RUSTUP_UNPACK_RAM to 100M Already up to date. Deleting ALL @bugsounet libraries... Ready for Installing... > MMM-Assistant2Display@2.6.4 preinstall /home/pi/MagicMirror/modules/MMM-Assistant2Display > installer/preinstall.sh Welcome to Assistant2Display "2.6.4", Installing all library... > @bugsounet/screen@1.1.4 preinstall /home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/screen > sudo apt-get install cec-utils -y E: dpkg werd onderbroken; voer handmatig 'sudo dpkg --configure -a' uit om het probleem te verhelpen. > @bugsounet/secure-a2d@1.0.7 preinstall /home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/secure-a2d > node secure.js path.js:1077 path = process.cwd(); ^ Error: ENOENT: no such file or directory, uv_cwd at Object.resolve (path.js:1077:24) at startup (internal/bootstrap/node.js:269:32) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 100 npm ERR! @bugsounet/screen@1.1.4 preinstall: `sudo apt-get install cec-utils -y` npm ERR! Exit status 100 npm ERR! npm ERR! Failed at the @bugsounet/screen@1.1.4 preinstall 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/2021-05-16T16_04_46_019Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 100 npm ERR! MMM-Assistant2Display@2.6.4 update: `installer/update.sh` npm ERR! Exit status 100 npm ERR! npm ERR! Failed at the MMM-Assistant2Display@2.6.4 update 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/2021-05-16T16_04_46_180Z-debug.log
this is the result of the update
-
not related to A2D installer
it’s simply related to your
dpkg
(package system installer)so try to solve your broken
dpkg
program withsudo dpkg --configure -a
commandNote:
you can’t install nothing of new actually withapt-get install
command