MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. nobbie35
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    N Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 15
    • Groups 0

    nobbie35

    @nobbie35

    0
    Reputation
    1
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    nobbie35 Unfollow Follow

    Latest posts made by nobbie35

    • RE: Electron Error

      unfortunately I don’t have a running system. the microsd card failed and I had the raspi rainbow screen. I have the MagicMirror folder copied to my NAS. Not sure if that would help with your tool or not.
      At this point I’m considering just starting from scratch adding my modules and then get it all up and running. I have my config.js and the main.css that I modified. If thats all i need let me know and where your script is and Ill go to work. I did make a fork of 2.25 and made changes to magic mirror myself to suit my needs which I don’t plan on doing.

      posted in Troubleshooting
      N
      nobbie35
    • RE: Electron Error

      I noticed that nothing seems to be working from my config on this new version. I was running 2.25 and all of my custom config was in the main.css. I decided to format another microsd card with a backup of my old MagicMirro and I’m planning on installing that. I’m sure that i’ll run into a node/electron issue running the older version. I’m debating just starting from scratch with the new version and wrestling with google and microsoft authentications…

      posted in Troubleshooting
      N
      nobbie35
    • RE: Electron Error

      Ok this fixed this issues… I’m not using wayland its still x11 i know that… I just have to go update my config file and main.css to match what I had in my previous implementation.

      Thank you for the assist. Much appreciated

      posted in Troubleshooting
      N
      nobbie35
    • RE: Electron Error

      @sdetweil I agree with its a node problem.

      ~/Dashboard/MagicMirror $ which node
      /home/pi/.nvm/versions/node/v24.16.0/bin/node

      posted in Troubleshooting
      N
      nobbie35
    • RE: Electron Error

      Ok here’s what I got…

      npm install electron@41.3.0
      
      added 488 packages in 30s
      
      246 packages are looking for funding
        run `npm fund` for details
      

      After running installing that and then trying to start MM it still gave me the same error

      I ran the following

      /Dashboard/MagicMirror $ sudo n 22.22.1
           copying : node/22.22.1
         installed : v22.22.1 (with npm 10.9.4)
      /Dashboard/MagicMirror $ hash -r
      /Dashboard/MagicMirror $ node -v
      v24.16.0
      

      Still got the same error and it says im running node 24 still running

      Output of the commands

      /Dashboard/MagicMirror $ ps -ef | grep -v grep | grep -i -e xway -e labwc | wc -l
      2
      
      posted in Troubleshooting
      N
      nobbie35
    • Electron Error

      I just did a fresh install of Magic Mirror which I’ve had running for years on a different RPi but for some reason I can’t seem to get this new version to start up due to Electron.

      I have removed the electron folder and done an npm install that didn’t work, I removed the entire modules folder and did an npm install and that didn’t work… I’ve gone in and manually installed electron node node_modules/electron/install.js and I’m still getting this when I start up my magic mirror.

      $ npm start

      magicmirror@2.36.0 start
      node --run start:wayland

      /home/Dashboard/MagicMirror/node_modules/electron/index.js:17
      throw new Error(
      ^

      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
      at getElectronPath (/home/Dashboard/MagicMirror/node_modules/electron/index.js:17:11)
      at Object. (/home/Dashboard/MagicMirror/node_modules/electron/index.js:23:18)
      at Module._compile (node:internal/modules/cjs/loader:1854:14)
      at Object…js (node:internal/modules/cjs/loader:1985:10)
      at Module.load (node:internal/modules/cjs/loader:1577:32)
      at Module._load (node:internal/modules/cjs/loader:1379:12)
      at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
      at Module.require (node:internal/modules/cjs/loader:1600:12)
      at require (node:internal/modules/helpers:153:16)
      at Object. (/home/Dashboard/MagicMirror/node_modules/electron/cli.js:5:18)

      Node.js v24.16.0

      posted in Troubleshooting
      N
      nobbie35
    • RE: MM won't start up after upgrading to 2.27

      @sdetweil Thank you… that was the issue

      posted in Troubleshooting
      N
      nobbie35
    • RE: MM won't start up after upgrading to 2.27

      @sdetweil I npm installed the Google Tasks module and its still throwing the same error

      posted in Troubleshooting
      N
      nobbie35
    • RE: MM won't start up after upgrading to 2.27

      @sdetweil I didn’t realize that you have to reinstall all of the modules after an install I’ve been running MM for over a year and have upgraded before like this and never had to npm install each of the modules again… I’ll go back and reinstall all of them just incase and report back

      posted in Troubleshooting
      N
      nobbie35
    • RE: MM won't start up after upgrading to 2.27

      @sdetweil Just for extra context I have updated my config css and modules from my backup

      I also have rebooted and completed your steps above… here is the output

      :~/Dashboard/MagicMirror $ npm start
      
      > magicmirror@2.27.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2024-04-26 15:59:34.482] [LOG]   Starting MagicMirror: v2.27.0
      [2024-04-26 15:59:34.534] [LOG]   Loading config ...
      [2024-04-26 15:59:34.539] [LOG]   config template file not exists, no envsubst
      [2024-04-26 15:59:34.545] [LOG]   Loading module helpers ...
      [2024-04-26 15:59:34.644] [LOG]   Initializing new module helper ...
      [2024-04-26 15:59:34.646] [LOG]   Module helper loaded: MMM-OpenWeatherForecast
      [2024-04-26 15:59:34.902] [LOG]   Initializing new module helper ...
      [2024-04-26 15:59:34.902] [LOG]   Module helper loaded: MMM-Wallpaper
      [2024-04-26 15:59:34.903] [LOG]   No helper found for module: clock.
      [2024-04-26 15:59:35.099] [LOG]   Initializing new module helper ...
      [2024-04-26 15:59:35.100] [LOG]   Module helper loaded: calendar
      [2024-04-26 15:59:35.101] [LOG]   No helper found for module: MMM-CalendarExt3.
      [2024-04-26 15:59:37.975] [LOG]   Initializing new module helper ...
      [2024-04-26 15:59:37.980] [LOG]   Module helper loaded: MMM-GoogleCalendar
      [2024-04-26 15:59:37.982] [LOG]   Initializing new module helper ...
      [2024-04-26 15:59:37.983] [LOG]   Module helper loaded: MMM-CustomMessage
      [2024-04-26 15:59:38.665] [ERROR] (node:2997) UnhandledPromiseRejectionWarning: Error: Cannot find module 'googleapis'
      Require stack:
      - /home/k/Dashboard/MagicMirror/modules/MMM-GoogleTasks/node_helper.js
      - /home/k/Dashboard/MagicMirror/js/app.js
      - /home/k/Dashboard/MagicMirror/js/electron.js
          at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15)
          at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
          at Module._resolveFilename (/home/k/Dashboard/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:908:27)
          at c._load (node:electron/js2c/node_init:2:13672)
          at Module.require (node:internal/modules/cjs/loader:1122:19)
          at require (node:internal/modules/helpers:130:18)
          at Object.<anonymous> (/home/k/Dashboard/MagicMirror/modules/MMM-GoogleTasks/node_helper.js:2:18)
          at Module._compile (node:internal/modules/cjs/loader:1256:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
          at Module.load (node:internal/modules/cjs/loader:1098:32)
          at Module._load (node:internal/modules/cjs/loader:945:12)
          at c._load (node:electron/js2c/node_init:2:13672)
          at Module.require (node:internal/modules/cjs/loader:1122:19)
          at require (node:internal/modules/helpers:130:18)
          at loadModule (/home/k/Dashboard/MagicMirror/js/app.js:183:19)
      (Use `electron --trace-warnings ...` to show where the warning was created)
      [2024-04-26 15:59:38.667] [ERROR] (node:2997) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      [3112:0426/155940.054621:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
      [3112:0426/155940.055560:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
      
      posted in Troubleshooting
      N
      nobbie35