Read the statement by Michael Teeuw here.
How to add modules. For absolute beginners.
-
@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!
-
@TheSij said in How to add modules. For absolute beginners.:
The module is finally showing in the MM dashboard.
Ahh, see? Well done. Don’t sweat it. We’ve all experienced these problems. I promise, it gets easier. The more you learn the easier it becomes. Have fun!
-
@sdetweil said in How to add modules. For absolute beginners.:
i suspect you did not do the required install
For the record, I did not have to install dependencies.
-
@Mykle1 because some other module already had. npm install would have resolved that, if he had provided the package. json
-
@sdetweil said in How to add modules. For absolute beginners.:
npm install would have resolved that, if he had provided the package. json
:thumbsup:
-
What if no errors are generated and yet the widget is not shown on the screen? Where do we start troubleshooting?
TIA
-
@ebolisa said in How to add modules. For absolute beginners.:
What if no errors are generated and yet the widget is not shown on the screen? Where do we start troubleshooting?
It would help if you named the widget (I assume you mean module) and posted your config entry for that module. Please post in a code block.
EDIT:
And everything @sdetweil says. :-)
-
@ebolisa do you have a position defined? must be else MM doesn’t know where to put the content…
next, look in the window where npm start was done, or in the logs if pm2, using pm2 logs --lines=??? ??? is a number 15 default…
also look in the developers window
ctrl-shift-i, select the tab labeled console, and scroll up… u can also filter by module, add some of the unique part of the module name to the filter field