Skip to content

[Bug] Electron does not install if nodejs version is 23 #3915

@sdetweil

Description

@sdetweil

Environment

  • SYSTEM: manufacturer: System manufacturer; model: System Product Name; virtual: false; MM: 2.33.0
  • OS: platform: linux; distro: Ubuntu; release: 22.04.5 LTS; arch: x64; kernel: 5.15.0-152-generic
  • VERSIONS: electron: 38.3.0; used node: 22.20.0; installed node: 22.18.0; npm: 10.9.3; pm2: 6.0.13
  • ENV: XDG_SESSION_TYPE: x11; MM_CONFIG_FILE: undefined
    WAYLAND_DISPLAY: undefined; DISPLAY: :0.0; ELECTRON_ENABLE_GPU: undefined
  • RAM: total: 48077.11 MB; free: 25678.98 MB; used: 22398.14 MB
  • OTHERS: uptime: 76132 minutes; timeZone: America/Chicago

Which start option are you using?

node --run start

Are you using PM2?

No

Module

None

Have you tried disabling other modules?

  • Yes
  • No

Have you searched if someone else has already reported the issue on the forum or in the issues?

  • Yes

What did you do?

npm install fails when nodejs is version 23
user says

electron says only supports v22

because electron didn't install, npm start failed

What did you expect to happen?

MagicMirror to start

What actually happened?

MagicMirror wont start

Additional comments

our engines clause, doesn't block node 23

Participation

  • I am willing to submit a pull request for this change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions