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.

    MagicMirror² v2.15.0 is available don't work.

    Scheduled Pinned Locked Moved Troubleshooting
    44 Posts 9 Posters 17.5k Views 10 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.
    • U Offline
      ulster @sdetweil
      last edited by

      @unfriendlydevice

      at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js:8:29)
      at Module._compile (internal/modules/cjs/loader.js:1152:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:1173:10) {
      code: ‘MODULE_NOT_FOUND’,
      requireStack: [
      ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js’,
      ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.js’,
      ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js’,
      ‘/home/pi/MagicMirror/js/app.js’,
      ‘/home/pi/MagicMirror/js/electron.js’,
      ‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
      undefined

      Yes, a black screen

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @ulster
        last edited by

        @ulster so, you need to do

        cd ~/MagicMirror
        npm install electron-rebuild
        cd ~/MagicMirror/modules/MMM-GoogleAssistant
        ~/MagicMirror/node_modules/.bin/electron-rebuild
        

        note the . (dot) in front of bin on the last command

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          ulster @sdetweil
          last edited by

          @sdetweil said in MagicMirror² v2.15.0 is available don't work.:

          ~/MagicMirror/node_modules/.bin/electron-rebuild

          sorry, still not work.

          01.04.2021 20:54.05.668] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v11.3-linux-arm/snowboy.node’
          Require stack:

          • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js
          • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.js
          • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js
          • /home/pi/MagicMirror/js/app.js
          • /home/pi/MagicMirror/js/electron.js
          • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @ulster
            last edited by

            @ulster ok, lets try his tool

            from the module folder do

            npm run  rebuild
            

            I have installed on 2.15 and it works…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            U 1 Reply Last reply Reply Quote 0
            • U Offline
              ulster @sdetweil
              last edited by

              @sdetweil said in MagicMirror² v2.15.0 is available don't work.:

              npm run rebuild

              now the problem seems to be in mmm assistant2display

              01.04.2021 21:21.49.886] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module ‘/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/epoll/build/Release/epoll.node’
              was compiled against a different Node.js version using
              NODE_MODULE_VERSION 76. This version of Node.js requires
              NODE_MODULE_VERSION 85. Please try re-compiling or re-installing
              the module (for instance, using npm rebuild or npm install).

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @ulster
                last edited by

                @ulster so, do the npm run rebuild in the Assistant2Display folder epoll is a bugger

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                U 1 Reply Last reply Reply Quote 0
                • U Offline
                  ulster @sdetweil
                  last edited by

                  @sdetweil !

                  thank you
                  Captura de ecrã 2021-04-01, às 23.11.52.png

                  W 1 Reply Last reply Reply Quote 1
                  • W Offline
                    Wenike @ulster
                    last edited by

                    @ulster Just for others running into the same issue, MMM-CalendarExt2 uses the now-deprecated valid-url, so it also throws the black screen on MM launch. I’m not nearly good enough at any coding to attempt a fix though.

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Wenike
                      last edited by

                      @wenike deprecated doesn’t mean no longer works… just means you “shouldn’t use it for NEW development”

                      SO, if its not loaded, YOU can still load it…

                      npm install valid-url

                      in whatever module needs it

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      W D 2 Replies Last reply Reply Quote 2
                      • W Offline
                        Wenike @sdetweil
                        last edited by

                        @sdetweil THANKS!

                        1 Reply Last reply Reply Quote 0
                        • StoffbeuteluweS Offline
                          Stoffbeuteluwe Project Sponsor
                          last edited by Stoffbeuteluwe

                          Hi i have also a black screen… I used the script

                          > magicmirror@2.15.0 start /Users/patrickhahn/MagicMirror
                          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                          
                          [02.04.2021 07:20.18.249] [LOG]   Starting MagicMirror: v2.15.0
                          [02.04.2021 07:20.18.252] [LOG]   Loading config ...
                          [02.04.2021 07:20.18.257] [LOG]   Loading module helpers ...
                          [02.04.2021 07:20.18.258] [LOG]   No helper found for module: alert.
                          [02.04.2021 07:20.18.386] [LOG]   Initializing new module helper ...
                          [02.04.2021 07:20.18.386] [LOG]   Module helper loaded: MMM-Remote-Control
                          [02.04.2021 07:20.18.483] [LOG]   Initializing new module helper ...
                          [02.04.2021 07:20.18.483] [LOG]   Module helper loaded: updatenotification
                          [02.04.2021 07:20.18.576] [LOG]   No helper found for module: MMM-Snow.
                          [02.04.2021 07:20.18.577] [LOG]   No helper found for module: MMM-WordClock.
                          [02.04.2021 07:20.18.624] [LOG]   No helper found for module: clock.
                          [02.04.2021 07:20.18.662] [LOG]   No helper found for module: calendar_monthly.
                          [02.04.2021 07:20.21.072] [LOG]   Initializing new module helper ...
                          [02.04.2021 07:20.21.073] [LOG]   Module helper loaded: calendar
                          [02.04.2021 07:20.21.107] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'valid-url'
                          Require stack:
                          - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js
                          - /Users/patrickhahn/MagicMirror/js/app.js
                          - /Users/patrickhahn/MagicMirror/js/electron.js
                          - /Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js
                          - 
                          [02.04.2021 07:20.21.108] [LOG]   Loading module helpers ...
                          [02.04.2021 07:20.21.108] [LOG]   No helper found for module: alert.
                          [02.04.2021 07:20.21.109] [LOG]   Initializing new module helper ...
                          [02.04.2021 07:20.21.109] [LOG]   Module helper loaded: MMM-Remote-Control
                          [02.04.2021 07:20.21.109] [LOG]   Initializing new module helper ...
                          [02.04.2021 07:20.21.109] [LOG]   Module helper loaded: updatenotification
                          [02.04.2021 07:20.21.109] [LOG]   No helper found for module: MMM-Snow.
                          [02.04.2021 07:20.21.110] [LOG]   No helper found for module: MMM-WordClock.
                          [02.04.2021 07:20.21.110] [LOG]   No helper found for module: clock.
                          [02.04.2021 07:20.21.110] [LOG]   No helper found for module: calendar_monthly.
                          [02.04.2021 07:20.21.110] [LOG]   Initializing new module helper ...
                          [02.04.2021 07:20.21.111] [LOG]   Module helper loaded: calendar
                          [02.04.2021 07:20.21.111] [ERROR] App threw an error during load
                          [02.04.2021 07:20.21.112] [ERROR] Error: Cannot find module 'valid-url'
                          Require stack:
                          - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js
                          - /Users/patrickhahn/MagicMirror/js/app.js
                          - /Users/patrickhahn/MagicMirror/js/electron.js
                          - /Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js
                          - 
                              at Module._resolveFilename (internal/modules/cjs/loader.js:972:15)
                              at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
                              at Function.Module._resolveFilename (/Users/patrickhahn/MagicMirror/node_modules/module-alias/index.js:49:29)
                              at Module._load (internal/modules/cjs/loader.js:848:27)
                              at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
                              at Module.require (internal/modules/cjs/loader.js:1032:19)
                              at require (internal/modules/cjs/helpers.js:72:18)
                              at Object.<anonymous> (/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js:9:16)
                              at Module._compile (internal/modules/cjs/loader.js:1152:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
                          [02.04.2021 07:20.21.112] [ERROR] Whoops! There was an uncaught exception...
                          [02.04.2021 07:20.21.115] [ERROR] Error: Cannot find module 'valid-url'
                          Require stack:
                          - /Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js
                          - /Users/patrickhahn/MagicMirror/js/app.js
                          - /Users/patrickhahn/MagicMirror/js/electron.js
                          - /Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js
                          - 
                              at Module._resolveFilename (internal/modules/cjs/loader.js:972:15)
                              at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
                              at Function.Module._resolveFilename (/Users/patrickhahn/MagicMirror/node_modules/module-alias/index.js:49:29)
                              at Module._load (internal/modules/cjs/loader.js:848:27)
                              at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
                              at Module.require (internal/modules/cjs/loader.js:1032:19)
                              at require (internal/modules/cjs/helpers.js:72:18)
                              at Object.<anonymous> (/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js:9:16)
                              at Module._compile (internal/modules/cjs/loader.js:1152:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) {
                            code: 'MODULE_NOT_FOUND',
                            requireStack: [
                              '/Users/patrickhahn/MagicMirror/modules/MMM-MyCalendar/node_helper.js',
                              '/Users/patrickhahn/MagicMirror/js/app.js',
                              '/Users/patrickhahn/MagicMirror/js/electron.js',
                              '/Users/patrickhahn/MagicMirror/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js',
                              undefined
                            ]
                          }
                          [02.04.2021 07:20.21.116] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                          [02.04.2021 07:20.21.116] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                          [02.04.2021 07:20.23.546] [LOG]   Launching application.
                          
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @Stoffbeuteluwe
                            last edited by sdetweil

                            @stoffbeuteluwe valid-url was removed from the mm package. do

                             npm install valid-url 
                            

                            in the mm folder

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                            • StoffbeuteluweS Offline
                              Stoffbeuteluwe Project Sponsor @sdetweil
                              last edited by Stoffbeuteluwe

                              @sdetweil Hi Sam that works… thank you … weatherforcast shows wrong time for the first 3 lines (night instead of day)Bildschirmfoto 2021-04-02 um 19.22.08.png

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @Stoffbeuteluwe
                                last edited by

                                @stoffbeuteluwe forecast and currentweather have been replaced by new code, old code is still there for a while…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                • StoffbeuteluweS Offline
                                  Stoffbeuteluwe Project Sponsor @sdetweil
                                  last edited by

                                  @sdetweil do i have to replace current weather and forecast?

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @Stoffbeuteluwe
                                    last edited by

                                    @stoffbeuteluwe no… but there won’t be any fixes…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                    • StoffbeuteluweS Offline
                                      Stoffbeuteluwe Project Sponsor @sdetweil
                                      last edited by Stoffbeuteluwe

                                      @sdetweil how can I get the new module or code ?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @Stoffbeuteluwe
                                        last edited by

                                        @stoffbeuteluwe yes, both in one

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                        • StoffbeuteluweS Offline
                                          Stoffbeuteluwe Project Sponsor @sdetweil
                                          last edited by

                                          @sdetweil how can I get the new one ?

                                          1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            linuxha
                                            last edited by

                                            I’ve been playing with weather.gov and it seems to be having problems. My config:

                                            		{
                                            			module: "weather",
                                            			position: "top_right",
                                            			type: "current",
                                            			weatherProvider: "weather.gov", //
                                            			windUnits: "imperial",
                                            			tempUnits: "imperial",
                                            			useBeaufort: false,
                                            			fade: false,
                                            			config: {
                                            				// See 'Configuration options' for more information.
                                            				apiBase: "https://api.weather.gov/points/",
                                            				weatherEndpoint: "/forecast/hourly", // for current
                                            				lat:        40.25571,
                                            				lon:        -74.39416,
                                            			}
                                            		}, /* * /
                                            		{
                                            			module: "weather",
                                            			position: "top_right",
                                            			type: "daily",
                                            			weatherProvider: "weather.gov", //Default value: openweathermap
                                            			windUnits: "imperial",
                                            			tempUnits: "imperial",
                                            			useBeaufort: false,
                                            			fade: false,
                                            			config: {
                                            				// See 'Configuration options' for more information.
                                            				apiBase: "https://api.weather.gov/points/",
                                            				weatherEndpoint: "/forecast", // for forecast
                                            				lat:        40.25571,
                                            				lon:        -74.39416,
                                            			}
                                            		}, /* */
                                            
                                            

                                            and from the browser:

                                            api.weather.gov/points/2.5/forecast/hourly?lat=40.25571&lon=-74.39416&units=imperial&lang=en&APPID=:1 Failed to load resource: the server responded with a status of 404 ()
                                            openweathermap.js:45 Could not load data ...  XMLHttpRequest
                                            (anonymous) @ openweathermap.js:45
                                            

                                            That URL is all sorts of wonky. The points URL returns the points to get the needed properties:
                                            Mine: https://api.weather.gov/points/40.25571,-74.39416 (under properties “gridId”: “PHI”,“gridX”: 73,“gridY”: 92, )
                                            then builds:
                                            Mine: https://api.weather.gov/gridpoints/PHI/73,92/forecast

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 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