Read the statement by Michael Teeuw here.
Help. MM doesn't work Anymore
-
@extra so, what have you done
did those commands
black screen
and since then?this looks like you did an npm install in the wrong folder
-
@sdetweil I just copied my config file to a usb, uninstalled MM, and re-installed it and replaced the config file with the one from my usb. It’s back to normal now.
I appreciate the help though. Thanks again.
-
@extra how did u install?
-
@sdetweil I followed the steps on the docs (manual installation): https://docs.magicmirror.builders/getting-started/installation.html
Then downloaded the MMM-SmartTouch module and followed those setup instructions here: https://github.com/EbenKouao/MMM-SmartTouch
-
@extra said in Help. MM doesn't work Anymore:
[23.01.2022 14:55.17.502] [ERROR] Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/node_modules/node-fetch/src/index.js from /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js not supported.
Instead change the require of index.js in /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js to a dynamic import() which is available in all CommonJS modules.This is the wrong version of node-fetch that is installed on MM. You need to downgrade node-fetch to v2.6.1 or something earlier than v3 where the module was change to an ES module. I would uninstall node-fetch and check which module uses it and what specific version and install the correct version.