• 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.

MMM-MP3Player

Scheduled Pinned Locked Moved Entertainment
19 Posts 9 Posters 6.9k Views 9 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.
  • A Offline
    Artech
    last edited by Dec 24, 2019, 9:40 AM

    @asimhsidd first of all thank you for your module it is really what i need for my mirror but i got a problem when i try to run it, in my terminal i have this

    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘usb’

    so if you or another can help me i will be thankful

    P 1 Reply Last reply Dec 30, 2019, 1:48 AM Reply Quote 0
    • P Offline
      patrickirvin @Artech
      last edited by Dec 30, 2019, 1:48 AM

      @Artech I have the same problem - while running npm install for dependencies I got the errors shown in screenshot - I suspect the install package needs updating.

      0_1577670501845_Capture.PNG

      A S 2 Replies Last reply Dec 30, 2019, 6:04 AM Reply Quote 0
      • A Offline
        Artech @patrickirvin
        last edited by Dec 30, 2019, 6:04 AM

        @patrickirvin so what will you do? for me this module is important but i put it in stand by first i’ll look on it after

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @patrickirvin
          last edited by Dec 30, 2019, 11:59 AM

          @patrickirvin the file needed is built locally on your machine…

          but the stuff needed for the build is missing… do

          sudo apt-get install libusb-1.0-0-dev
          sudo apt-get install libudev-dev
          

          then close the terminal window, re-open
          and then do the npm install again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A P 3 Replies Last reply Dec 30, 2019, 1:00 PM Reply Quote 0
          • A Offline
            Artech @sdetweil
            last edited by Dec 30, 2019, 1:00 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • A Offline
              Artech @sdetweil
              last edited by Dec 30, 2019, 1:04 PM

              @sdetweil itried t but what i got in my terminal when i use npm start is the same errors

              S 1 Reply Last reply Dec 30, 2019, 1:13 PM Reply Quote 0
              • S Away
                sdetweil @Artech
                last edited by Dec 30, 2019, 1:13 PM

                @Artech ok, do this

                cd ~
                find /usr 2>/dev/null | grep libudev\.h
                

                mine is in

                /usr/include/libudev.h
                

                after the two commands above

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                A 2 Replies Last reply Jan 2, 2020, 6:07 PM Reply Quote 0
                • P Offline
                  patrickirvin @sdetweil
                  last edited by Dec 30, 2019, 11:52 PM

                  @sdetweil Thanks! That got me past the errors when installing dependencies. Now when using npm start the MM exits when it hit the MMM-MP3Player part of the config file. I will look into the logs further.

                  S 1 Reply Last reply Jan 2, 2020, 6:10 PM Reply Quote 0
                  • A Offline
                    Artech @sdetweil
                    last edited by Jan 2, 2020, 6:07 PM

                    @sdetweil thank i guive you a feedback later

                    1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @patrickirvin
                      last edited by Jan 2, 2020, 6:10 PM

                      @patrickirvin that usually means there is some other dependency missing

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/19
                        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