Hi!
I’m trying to run MM in an old 32 bits laptop using Debian 12, but I´m having a lot of compatibility problems. I hope someone can help me!
I couldn’t follow the “standard” installation process , so I followed these steps:
-
- Install node.js and npm using “
sudo apt install nodejs npm -y
” instead of the steps explained in https://github.com/nodesource/distributions
- Install node.js and npm using “
-
- Clone and install the MM from Github repository as explained in https://docs.magicmirror.builders/getting-started/installation.html
-
- After running MM, I got the error message “electron.js not found”, so I manually installed the version 4.2.12 using the command
npm install electron@4.2.12 --force
because this version is the last one with 32 bits support (I guess). It fixed the problem.
- After running MM, I got the error message “electron.js not found”, so I manually installed the version 4.2.12 using the command
Now, when I run MM I get the following error:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'node:fs'
at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
at Function.Module._resolveFilename (/home/mirror/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:43:12)
at Function.Module._resolveFilename (/home/mirror/MagicMirror/node_modules/module-alias/index.js:49:29)
at Function.Module._load (internal/modules/cjs/loader.js:510:25)
at Module.require (internal/modules/cjs/loader.js:640:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/mirror/MagicMirror/js/app.js:4:12)
at Object.<anonymous> (/home/mirror/MagicMirror/js/app.js:367:3)
at Module._compile (internal/modules/cjs/loader.js:693:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Any suggestions to fix this problem?