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.

    MMM-NowPlayingOnSpotify stop working after v2.13 update

    Scheduled Pinned Locked Moved Troubleshooting
    46 Posts 3 Posters 20.1k Views 3 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.
    • C Offline
      chassain 0
      last edited by

      doing test run processing complete for all modules in first

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

        @panos and if you use spotify client on some other device it works ok?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          panos @chassain 0
          last edited by panos

          @chassain-0
          I don’t know why this happens then.
          I run npm install on more time and rerun the authentication process via browser. (In order to update the token)
          Still the same error.

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            chassain 0 @panos
            last edited by

            @panos i’m running the script for this raspberry…wait and i give you the result

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              panos @sdetweil
              last edited by

              @sdetweil
              Yes. I’m able to listen via Spotify app on both mobile/desktop

              1 Reply Last reply Reply Quote 0
              • C Offline
                chassain 0
                last edited by

                Capture d’écran de 2020-10-03 20-28-51.png

                always in running

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  panos @chassain 0
                  last edited by

                  @chassain-0
                  Thanks
                  I update mine via “git pull && npm install” command

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    chassain 0 @panos
                    last edited by

                    @panos
                    use sdetweil script…it’s better

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chassain 0 @sdetweil
                      last edited by

                      @sdetweil Capture d’écran de 2020-10-03 20-34-11.png

                      what i need to do after ?

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        panos @chassain 0
                        last edited by

                        @chassain-0 so the module can’t work because the request-promise-native package is deprecated?

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

                          @panos no…deprecated means don’t use it new anymore, and plan to change now for any existing… will take a year or more to remove…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          P 1 Reply Last reply Reply Quote 0
                          • P Offline
                            panos @sdetweil
                            last edited by

                            @sdetweil ok I see, thanks.
                            So is there any workaround to make the module to work again?

                            C 1 Reply Last reply Reply Quote 0
                            • C Offline
                              chassain 0 @panos
                              last edited by

                              @panos i’m waiting instructions to continue…If i do a restart mm i have a black screen

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

                                @chassain-0 @panos are your system clocks right?

                                looking thru the causes for the error…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                P 1 Reply Last reply Reply Quote 0
                                • C Offline
                                  chassain 0
                                  last edited by

                                  i don’t know if git stash pop is necessary

                                  S 1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    panos
                                    last edited by

                                    I haven’t had black screen once I updated to v2.13.
                                    seems that only some modules need the “npm install” command

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

                                      @chassain-0 well, you asked to save the changes… what are they and why? stash pop is the only way to get them back, but they might break other changes depending on what the changes are

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @panos if they have a package,json, you should npm install (what my script does)

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        C 1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          panos @sdetweil
                                          last edited by

                                          @sdetweil the datetime is correct on my raspberry system

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            chassain 0 @sdetweil
                                            last edited by

                                            @sdetweil the errors…same with the script

                                            [2020-10-03 21:04:52.359] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'winston'
                                            Require stack:
                                            - /home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js
                                            - /home/pi/MagicMirror/modules/MMM-Provider-JSON/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
                                            - 
                                            [2020-10-03 21:04:52.396] [ERROR]  App threw an error during load
                                            [2020-10-03 21:04:52.397] [ERROR]  Error: Cannot find module 'winston'
                                            Require stack:
                                            - /home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js
                                            - /home/pi/MagicMirror/modules/MMM-Provider-JSON/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
                                            - 
                                                at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
                                                at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                                                at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                                                at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                                                at Module.require (internal/modules/cjs/loader.js:685:19)
                                                at require (internal/modules/cjs/helpers.js:16:16)
                                                at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js:1:46)
                                                at Module._compile (internal/modules/cjs/loader.js:786:30)
                                                at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                                                at Module.load (internal/modules/cjs/loader.js:645:32)
                                            [2020-10-03 21:04:52.398] [ERROR]  Whoops! There was an uncaught exception...
                                            [2020-10-03 21:04:52.399] [ERROR]  Error: Cannot find module 'winston'
                                            Require stack:
                                            - /home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js
                                            - /home/pi/MagicMirror/modules/MMM-Provider-JSON/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
                                            - 
                                                at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
                                                at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                                                at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                                                at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                                                at Module.require (internal/modules/cjs/loader.js:685:19)
                                                at require (internal/modules/cjs/helpers.js:16:16)
                                                at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js:1:46)
                                                at Module._compile (internal/modules/cjs/loader.js:786:30)
                                                at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                                                at Module.load (internal/modules/cjs/loader.js:645:32) {
                                              code: 'MODULE_NOT_FOUND',
                                              requireStack: [
                                                '/home/pi/MagicMirror/modules/MMM-FeedUtilities/LOG.js',
                                                '/home/pi/MagicMirror/modules/MMM-Provider-JSON/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
                                              ]
                                            }
                                            [2020-10-03 21:04:52.404] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                                            [2020-10-03 21:04:52.405] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                                            
                                            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
                                            • 2 / 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