Read the statement by Michael Teeuw here.
Lost modules. Not showing after reinstall
-
@N6NG Looks like you are doing an
npm install MMM-RAIN-RADAR
. This is not an npmjs module. In the ~/MagicMirror/modules folder you have to do agit clone https://github.com/jojoduquartier/MMM-RAIN-RADAR.git
. From the github page doesn’t look like there are any dependencies to install afterward. Then just add module to you config.js and you should be good to go with it. -
@mumblebaj he had the git clone, just added the module name to the npm install for some reason…
he seems to have fixed that…
-
@sdetweil Ah ok. Module does not have any dependencies to install hence i thought he did it wrong way round.
-
@mumblebaj no package.json, so nothing to do and nothing gets done
-
@sdetweil I did a git checkout package.json and this is what I got:
pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ git checkout package.json
error: pathspec ‘package.json’ did not match any file(s) known to git
pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $ ls package.json
package.json
pi@raspberrypi:~/MagicMirror/modules/MMM-RAIN-RADAR $
I started by doing an ls package.js in the MMM-RAIN-RADAR module and it listed it there. Then I did the checkout… What does that mean? -
@N6NG this module does not have a package.json
-
@sdetweil When I do a “ls package.json” is lists one in that module but I guess it could have come from somewhere else… I’ll delete the module and start again from scratch.
Thanks -
@N6NG Well here is the story. I erased that module and started from scratch and put it back in. But it still didn’t show up on the MM. Here is what I found. In repositioning the individual screen locations they ended up overlaying other modules on the screen and rather than overlaying the visual of the other module it just didn’t show. When I went back and shrunk the size of the modules on the screen (going from ie: 400px by 400px to 200 px by 200 px it showed up again. I did this with other of the modules and they showed up again also. I haven’t finished all of them yet but I think it’s going to fix them all. I think that should solve all my invisible module problems.
Dennis N6NG -
@N6NG said in Lost modules. Not showing after reinstall:
In repositioning the individual screen locations
does that mean you changed the region layouts in css?
-
@sdetweil Some of them yes… and some I just changed the config size options:
dennis