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

Use npm for module installs

Scheduled Pinned Locked Moved Feature Requests
16 Posts 6 Posters 9.9k Views 4 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.
  • M Offline
    MichMich Admin
    last edited by May 3, 2016, 11:49 AM

    The biggest issue is that you can specifically mention where to install modules.

    P 1 Reply Last reply May 3, 2016, 11:52 AM Reply Quote 0
    • M Offline
      MichMich Admin
      last edited by May 3, 2016, 11:50 AM

      By the way, when MM2 is stable, it will be available for installation using npm install magic mirror.

      1 Reply Last reply Reply Quote 1
      • P Offline
        paviro Admin @MichMich
        last edited by May 3, 2016, 11:52 AM

        @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 :/

        We're all stories in the end. Just make it a good one, eh?

        – The Doctor

        M 1 Reply Last reply May 3, 2016, 11:54 AM Reply Quote 0
        • M Offline
          MichMich Admin @paviro
          last edited by May 3, 2016, 11:54 AM

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

          1 Reply Last reply Reply Quote 0
          • P Offline
            paviro Admin
            last edited by May 3, 2016, 11:55 AM

            That’s correct but would that be a real problem?

            We're all stories in the end. Just make it a good one, eh?

            – The Doctor

            M 1 Reply Last reply May 3, 2016, 12:03 PM Reply Quote 0
            • M Offline
              MichMich Admin @paviro
              last edited by May 3, 2016, 12:03 PM

              @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 :))

              1 Reply Last reply Reply Quote 0
              • P Offline
                paviro Admin
                last edited by May 3, 2016, 12:04 PM

                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.

                We're all stories in the end. Just make it a good one, eh?

                – The Doctor

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MichMich Admin
                  last edited by May 3, 2016, 12:18 PM

                  It’s not that it’s not worth it. It’s just not cleanest solution.

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    nogE
                    last edited by Apr 27, 2017, 6:56 PM

                    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.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Beh
                      last edited by Apr 28, 2017, 5:59 PM

                      I’d really like to see some kind of ‘package manager’ for all the mirror modules. A more or less centralized solution for this would be great.

                      But I agree with @MichMich that npm is not really the solution for that.

                      B 1 Reply Last reply Apr 29, 2017, 7:38 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        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