Read the statement by Michael Teeuw here.
Use npm for module installs
-
Do you guys think it would be possible to use npm for installing modules? This forum software can do it, so it has to be possible somehow.
-
The biggest issue is that you can specifically mention where to install modules.
-
By the way, when MM2 is stable, it will be available for installation using
npm install magic mirror
. -
@MichMich the forum also installs it’s modules into node_modules but it still somehow manages to find them and let the user activate them :/
-
@paviro Yes, but that doesn’t mean they are in a specific folder. That would mean all modules will be installed in
~/MagicMirror/modules/node_modules/.
- I don’t think that is what we want. -
That’s correct but would that be a real problem?
-
@paviro Yes,it has to big of an impact on the file structure. This would require a lot of rewriting. (And besides that, it’s extremely ugly :))
-
I agree on the ugly part :D your are right I guess, would just be easier for the users :) but probably not enough to be worth it.
-
It’s not that it’s not worth it. It’s just not cleanest solution.
-
if it could be possible to build a Management Interface like iobroker (www.iobroker.org), it would be much more comfortable to use. Good node update und plugin design.