Read the statement by Michael Teeuw here.
Electron error? js error? Javascrpt error?
-
Hi i’m training to run MM on a raspberry pi, this is my first trying something like this and seeing this much code, when i tried npm run start i get all of this errors, tried to update things and its giving me the same error, should I just tried a fresh install? thanks for the help guys.
dayzwell@raspberrypi:~/MagicMirror $ npm run start
magicmirror@2.31.0 start
npm run start:x11magicmirror@2.31.0 start:x11
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[2025-06-16 12:46:38.249] [ERROR] App threw an error during load
[2025-06-16 12:46:38.259] [ERROR] ReferenceError: ReadableStream is not defined
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/webidl.js:471:58)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/util.js:12:20)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
A JavaScript error occurred in the main process
Uncaught Exception:
ReferenceError: ReadableStream is not defined
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/webidl.js:471:58)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/util.js:12:20)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
os_same_file_description couldn’t determine if two DRM fds reference the same file description. (Function not implemented)
Let’s just assume that file descriptors for the same file probablyshare the file description instead. This may cause problems whenthat isn’t the case.
[4820:0616/114639.047070:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2) -
@Dayzwell I see his instructions left out a step.
I opened this issue https://github.com/xadamxk/MMM-LOLESPORTS-SCHEDULES/issues/8he has updated the instructions
-
@Dayzwell can you tell us what you did to setup and install MagicMirror. what system and OS this is
-
@sdetweil Im using a raspberry 3 using Raspberry Pi OS, I install and update the MM and it work until i tried to install this module https://github.com/xadamxk/MMM-LOLESPORTS-SCHEDULES update electron and everething I could find and now its giving me those errors
-
@Dayzwell ok, so lets start over a little
for that module in config.js add
disabled:true,
after its module: line
and then do
cd ~/MagicMirror git checkout package.json rm -rf node_modules npm run install-mm
then try
npm start
-
@Dayzwell I see his instructions left out a step.
I opened this issue https://github.com/xadamxk/MMM-LOLESPORTS-SCHEDULES/issues/8he has updated the instructions
-
@sdetweil thak you it works now :)
-
@Dayzwell awesome!!
-