MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Dependecy question

    General Discussion
    2
    3
    41
    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.
    • earnestrichards
      earnestrichards last edited by

      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 Reply Quote 0
      • S
        sdetweil @earnestrichards last edited by sdetweil

        @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

        Create a working config
        How to add modules

        S 1 Reply Last reply Reply Quote 1
        • S
          sdetweil @sdetweil last edited by

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

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy