• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Cannot find module 'node-fetch' error with MMM-SoccerLiveScore

Scheduled Pinned Locked Moved Solved Troubleshooting
34 Posts 5 Posters 9.9k Views 5 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 Away
    sdetweil @codac
    last edited by Jan 2, 2024, 7:40 PM

    @codac and I think the electron error is just noise, as you must be running server only mode, whcih doesn’t use electron

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    K 1 Reply Last reply Jan 2, 2024, 7:41 PM Reply Quote 0
    • K Offline
      karsten13 @codac
      last edited by Jan 2, 2024, 7:41 PM

      @codac

      I don’t know this WebUI, you have to restart the container or stop and start again, whatever the WebUI provides

      C 1 Reply Last reply Jan 2, 2024, 7:41 PM Reply Quote 0
      • K Offline
        karsten13 @sdetweil
        last edited by Jan 2, 2024, 7:41 PM

        @sdetweil

        and I think the electron error is just noise, as you must be running server only mode, whcih doesn’t use electron

        yes, there is no electron installed

        1 Reply Last reply Reply Quote 0
        • C Offline
          codac @karsten13
          last edited by Jan 2, 2024, 7:41 PM

          @karsten13 well restarting / stopping / starting is no problem. But the error just remains and doesnt go away…

          S 1 Reply Last reply Jan 2, 2024, 7:42 PM Reply Quote 0
          • S Away
            sdetweil @codac
            last edited by Jan 2, 2024, 7:42 PM

            @codac which error? the node-fetch or the lib error?

            (@karsten13 we installed electron, my mistake… in docker, doah! )

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Jan 2, 2024, 7:47 PM Reply Quote 0
            • C Offline
              codac @sdetweil
              last edited by Jan 2, 2024, 7:47 PM

              @sdetweil the node-fetch error

              K 1 Reply Last reply Jan 2, 2024, 7:50 PM Reply Quote 0
              • K Offline
                karsten13 @codac
                last edited by Jan 2, 2024, 7:50 PM

                @codac

                if you are using https://github.com/0m4r/MMM-SoccerLiveScore the module contains the missing node-fetch so you should do a git pull in the module folder and try again (which means restart the container)

                S 1 Reply Last reply Jan 2, 2024, 8:02 PM Reply Quote 0
                • S Away
                  sdetweil @karsten13
                  last edited by Jan 2, 2024, 8:02 PM

                  @karsten13 did they fix the module? I didn’t check

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  K 1 Reply Last reply Jan 2, 2024, 8:05 PM Reply Quote 0
                  • K Offline
                    karsten13 @sdetweil
                    last edited by Jan 2, 2024, 8:05 PM

                    @sdetweil

                    you are right, they “fixed” it in devDependencies instead in dependencies …

                    then git pull is useless, you have to install the missing library in the module folder as sam already explained above

                    K 1 Reply Last reply Jan 2, 2024, 8:07 PM Reply Quote 0
                    • K Offline
                      KristjanESPERANTO Module Developer @karsten13
                      last edited by Jan 2, 2024, 8:07 PM

                      I created a PR to fix this, let’s see when @0m4r accept it.

                      S 0 2 Replies Last reply Jan 2, 2024, 8:08 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        21/34
                        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