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

How to add modules. For absolute beginners.

Scheduled Pinned Locked Moved Troubleshooting
91 Posts 16 Posters 120.0k Views 24 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 @TheSij
    last edited by sdetweil Jul 27, 2020, 10:00 PM Jul 27, 2020, 10:00 PM

    @TheSij said in How to add modules. For absolute beginners.:

    [2020-07-27 22:56:11.690] [ERROR] Error: Cannot find module ‘async’

    i suspect you did not do the required install in the
    MagicMirror/modules/MMM-PrayerTime folder

    per the instructions

    Installation
    Navigate into your MagicMirror's modules folder
    execute git clone https://github.com/slametps/MMM-PrayerTime.git
    
    **if this module does not run correctly,** try npm install async
    
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    T S M 3 Replies Last reply Jul 27, 2020, 10:10 PM Reply Quote 0
    • T Offline
      TheSij @sdetweil
      last edited by Jul 27, 2020, 10:10 PM

      @sdetweil said in How to add modules. For absolute beginners.:

      I am 110% sure I installed the module in the right directory. I always check before I execute it. I’ve just checked the directory, and the module repository is in the right place. I’m executing the ‘npm install async’ command now. Fingers crossed!

      S 1 Reply Last reply Jul 27, 2020, 10:11 PM Reply Quote 0
      • S Away
        sdetweil @TheSij
        last edited by Jul 27, 2020, 10:11 PM

        @TheSij said in How to add modules. For absolute beginners.:

        I’ve just checked the directory, and the module repository is in the right place.

        what does that mean?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Jul 27, 2020, 10:15 PM Reply Quote 0
        • S Away
          sdetweil @sdetweil
          last edited by sdetweil Jul 27, 2020, 10:31 PM Jul 27, 2020, 10:13 PM

          I opened an issue on the MMM-PrayerTime module github, for him to create a package.json file for this async dependency and let the system handle it
          https://github.com/slametps/MMM-PrayerTime/issues/43

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 1 Reply Last reply Jul 27, 2020, 10:29 PM Reply Quote 1
          • T Offline
            TheSij @sdetweil
            last edited by Jul 27, 2020, 10:15 PM

            @sdetweil - as in, the files for that module is in the MM modules folder. Sorry if I’m using the wrong terminology.

            So, after running the ‘npm install async’, it found three low vulnerabilities, which I’ve asked for them to be fixed.

            S 1 Reply Last reply Jul 27, 2020, 10:29 PM Reply Quote 0
            • T Offline
              TheSij @sdetweil
              last edited by Jul 27, 2020, 10:29 PM

              @sdetweil - thanks. I think I’ve got it working. The module is finally showing in the MM dashboard. Thanks very much for the guidance, and @Mykle1.

              M 1 Reply Last reply Jul 28, 2020, 12:37 AM Reply Quote 0
              • S Away
                sdetweil @TheSij
                last edited by Jul 27, 2020, 10:29 PM

                @TheSij ignore the vulnerabilities, more trouble than its worth

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Jul 27, 2020, 10:35 PM Reply Quote 0
                • T Offline
                  TheSij @sdetweil
                  last edited by Jul 27, 2020, 10:35 PM

                  @sdetweil - too late. Sorry, I went ahead before getting this advice. I’ll remember for next time.

                  S 1 Reply Last reply Jul 27, 2020, 10:39 PM Reply Quote 0
                  • S Away
                    sdetweil @TheSij
                    last edited by Jul 27, 2020, 10:39 PM

                    @TheSij many times the ‘fixes’ force new code, which breaks old code, so you fix one problem, but the system is dead.

                    more times than not fixing adds new issues to the list, different than u started with. almost NEVER does the list go away.
                    and some of the vulnerabilities matter IF you have your pi connected to the internet where others are interacting with it (logon, save money, messages, …) MM is just pulling update notices. not allowing unsolicited inbound connections…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 1 Reply Last reply Jul 27, 2020, 10:41 PM Reply Quote 1
                    • T Offline
                      TheSij @sdetweil
                      last edited by Jul 27, 2020, 10:41 PM

                      @sdetweil - understood. Thanks!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 5 / 10
                      5 / 10
                      • First post
                        50/91
                        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