MagicMirror Forum

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

    Missing node_helper folder in MagicMirror/node_modules/

    Troubleshooting
    2
    5
    308
    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.
    • K
      Karl Muffel last edited by

      Hello everyone,
      for some reason I’m missing the index.js file in the node_helper folder. Both (index.js and node_helper) are missing.

      It normally should be like:

      MagicMirror/node_modules/node_helper/index.js
      

      However, the node_helper folder and the index.js file are missing… In previous posts (first, second) users explained that a simple reconstruction of the folder structure could solve the problem. The only thing you had to do was creating the folder/file and insert the specific code into index.js. This specfic code has apparently been available here.

      This code isn’t available anymore, are there other links to get this code or are there at least any other solutions for my problem?

      Thanks

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

        @Karl-Muffel in 2.9 we moved it so it would stop being erased by a security change to npm. there is an alias statement in package.json

        “_moduleAliases”: {
        “node_helper”: “js/node_helper.js”

        the file is in the js folder now

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • K
          Karl Muffel last edited by

          Thanks! , i tried a few things but it seems like it doesn’t really work neither. Everytime i start the mirror the mirror starts to look for node_helpers. Those modules that have a node helper are able to start, and those who don’t have one are unable to start.

          Screenshot2.PNG

          Why does my MM need all those node_helper files to launch the modules? I hope you understand my problem. Thanks in advance!

          S 2 Replies Last reply Reply Quote 0
          • S
            sdetweil @Karl Muffel last edited by

            @Karl-Muffel yes, you must have installed modules without using the git clone approach, as git is not found

            these errors are from the updateNotification module trying to help advise if modules have changed

            so, in config.js disable the module

            		{
            			module: "updatenotification",
            			position: "top_bar",
                                    disabled: true
            		},
            

            u are 2 releases behind on 2.10.1,
            current is 2.12

            Sam

            Create a working config
            How to add modules

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

              @Karl-Muffel ‘no helper found’ is just a notice that this module doesn’t use a helper file (node_helper.js), it is an optional module component

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • 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