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

Dependecy question

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 501 Views 2 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.
  • E Offline
    earnestrichards
    last edited by Sep 14, 2020, 12:22 AM

    I have a hypothetical / non-hypothetical question:

    If I download a module… i.e. git clone (something something something) and then it requires a ‘npm install’ to install the dependencies, properly edit the config.js file, and then decide, for whatever reason, I don’t want to use that module.

    If I strip out (or comment out) the module’s entry in the config.js file, what happens to those dependencies? Are they forever on my SD card? Are they excess clutter?

    S 1 Reply Last reply Sep 14, 2020, 12:25 AM Reply Quote 0
    • S Offline
      sdetweil @earnestrichards
      last edited by sdetweil Sep 14, 2020, 12:27 AM Sep 14, 2020, 12:25 AM

      @earnestrichards they are in the module folder. if u erase the module folder they go away. except for the sd card memory bit consumption.

      sd card memory is write once. next time for that file. those bits are no good, marked used, and new consumption.

      eventually all memory bits used, even tho card file system says not full.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Sep 14, 2020, 12:41 AM Reply Quote 1
      • S Offline
        sdetweil @sdetweil
        last edited by Sep 14, 2020, 12:41 AM

        @earnestrichards if you just take the entry out of config.js for that module. the files are still there.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        1 / 1
        • First post
          2/3
          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