Read the statement by Michael Teeuw here.
How to add modules. For absolute beginners.
-
@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 folderper 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
-
@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!
-
@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?
-
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 -
@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.
-
-
@TheSij ignore the vulnerabilities, more trouble than its worth
-
@sdetweil - too late. Sorry, I went ahead before getting this advice. I’ll remember for next time.
-
@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… -
@sdetweil - understood. Thanks!