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.

    Electron error since the last MM update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 1.2k 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.
    • S Offline
      sdetweil @thymon
      last edited by sdetweil

      @thymon said in Electron error since the last MM update:

      Where can put this script ?

      u just run it from the instructions on the github page

      fixuppm2.sh, cut/paste this line into the terminal window on your device
      

      copy paste the one line

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      thymonT 1 Reply Last reply Reply Quote 0
      • thymonT Offline
        thymon @sdetweil
        last edited by

        @sdetweil

        I am sorry :) It’s my bad english :downcast_face_with_sweat:

        Thx so much !!
        So now it’s a module issue.

        |MagicMirror  | [13.08.2021 16:36.53.743] [ERROR] 
        0|MagicMirror  | App threw an error during load
        0|MagicMirror  | [13.08.2021 16:36.53.748] [ERROR] Error: Cannot find module 'rrule-alt'
        0|MagicMirror  | Require stack:
        0|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js
        0|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js
        0|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js
        0|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js
        0|MagicMirror  | - /home/pi/MagicMirror/js/app.js
        0|MagicMirror  | - /home/pi/MagicMirror/js/electron.js
        0|MagicMirror  | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
        0|MagicMirror  | - 
        0|MagicMirror  |     at Module._resolveFilename (internal/modules/cjs/loader.js:972:15)
        0|MagicMirror  |     at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
        0|MagicMirror  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        0|MagicMirror  |     at Module._load (internal/modules/cjs/loader.js:848:27)
        0|MagicMirror  |     at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
        0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:1032:19)
        0|MagicMirror  |     at require (internal/modules/cjs/helpers.js:72:18)
        0|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:20:13)
        0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:1152:30)
        0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
        0|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:992:32)
        0|MagicMirror  |     at Module._load (internal/modules/cjs/loader.js:885:14)
        0|MagicMirror  |     at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
        0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:1032:19)
        0|MagicMirror  |     at require (internal/modules/cjs/helpers.js:72:18)
        0|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js:3:12)
        0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:1152:30)
        0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
        0|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:992:32)
        0|MagicMirror  |     at Module._load (internal/modules/cjs/loader.js:885:14)
        0|MagicMirror  |     at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
        0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:1032:19)
        0|MagicMirror  | [13.08.2021 16:36.53.752] [ERROR] 
        0|MagicMirror  | Whoops! There was an uncaught exception...
        
        

        I tried this without success :

        cd ~/MagicMirror/modules/MMM-MyCalendar
        npm init 
        
        npm install valid-url --save
        

        I followed your answer from another topic

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

          @thymon

          check the messages again, there are 3 libraries we see this with

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          thymonT 1 Reply Last reply Reply Quote 0
          • thymonT Offline
            thymon @sdetweil
            last edited by

            @sdetweil

            I am confused but I don’t understand…

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

              @thymon >| [13.08.2021 16:36.53.748] [ERROR] Error: Cannot find module ‘rrule-alt’

              did u npm install rrule-alt?
              did u npm install request

              check the messages, in the same place u saw valid-url and make sure there are no more errors…

              (use google translate to get my text in your language)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              thymonT 1 Reply Last reply Reply Quote 0
              • thymonT Offline
                thymon @sdetweil
                last edited by thymon

                @sdetweil

                I undestood your language. But I didn’t understand what to do :D

                Now It works !!
                I did not know this command :

                npm install request
                

                You are my man thanks a lot ! And you script is great

                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