MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    SmartMirror Reinstalled, worked, then failed...

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 146 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rutgerm
      last edited by

      So, my SmartMirror was setup once again and then it started working and will no longer start up. This is what happens when I try and force it to start.

      rutger@smartmirror:~/MagicMirror $ npm start dev

      magicmirror@2.27.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js dev

      [2024-04-14 10:45:29.422] [LOG] Starting MagicMirror: v2.27.0
      [2024-04-14 10:45:29.481] [LOG] Loading config …
      [2024-04-14 10:45:29.488] [LOG] config template file not exists, no envsubst
      [2024-04-14 10:45:29.495] [LOG] Loading module helpers …
      [2024-04-14 10:45:29.497] [LOG] No helper found for module: alert.
      [2024-04-14 10:45:29.976] [LOG] Initializing new module helper …
      [2024-04-14 10:45:29.977] [LOG] Module helper loaded: updatenotification
      [2024-04-14 10:45:29.979] [LOG] No helper found for module: clock.
      [2024-04-14 10:45:29.981] [LOG] No helper found for module: MMM-NsInfo.
      [2024-04-14 10:45:29.983] [LOG] No helper found for module: compliments.
      [2024-04-14 10:45:29.984] [LOG] No helper found for module: weather.
      [2024-04-14 10:45:31.036] [ERROR] (node:1578) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘core-js/modules/es.string.replace.js’
      Require stack:

      • /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js
      • /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/serialize.js
      • /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/directions.js
      • /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/client.js
      • /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/geolocate.js
      • /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/index.js
      • /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_helper.js
      • /home/rutger/MagicMirror/js/app.js
      • /home/rutger/MagicMirror/js/electron.js
        at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15)
        at s._resolveFilename (node:electron/js2c/browser_init:2:115690)
        at Module._resolveFilename (/home/rutger/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 /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js:1:79
        at Object. (/home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js:1:807)
        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)
        (Use electron --trace-warnings ... to show where the warning was created)
        [2024-04-14 10:45:31.059] [ERROR] (node:1578) 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)
        [2024-04-14 10:45:40.165] [INFO] System information:

      SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Rev 1.2; raspberry: [object Object]; virtual: false

      OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.21-v7+

      VERSIONS: electron: 29.3.0; used node: 20.9.0; installed node: 20.8.0; npm: 10.1.0; pm2: 5.3.1

      OTHER: timeZone: Europe/Amsterdam; ELECTRON_ENABLE_GPU: undefined

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @rutgerm
        last edited by

        @rutgerm .MMM-GoogleTrafficTimes

        did you update your system?

        please go to that module folder and do
        npm install

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy