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.

    Its may a problem with node_helper

    Scheduled Pinned Locked Moved Development
    31 Posts 3 Posters 21.6k 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.
    • P Offline
      Phate @schnep202
      last edited by

      @schnep202

      No problem at all mate… Appreciate any help at all lol

      USB little blade things… I skipped that stage… Went GPU rig straight to larger ASICS… Cost a fortune at the time tho lol

      My issue is installing the dependencies in the actual Bitcoin module folder… it throws an error…

      I’ll try again now and see if I can copy paste the error

      In case I’m doing this wrong…

      Cd into module folder MMM-Bitcoin

      npm install request

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        Phate @Phate
        last edited by paviro

        @Phate

        I’ve tried a bunch of different ways to get the dependencies installed in the modules folder… No luck…

        Keep getting:

        ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json
        ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_helper/package.json
        

        I’m guessing I’m still doing something wrong


        Note from admin: Please use Markdown on code and console output for easier reading!

        1 Reply Last reply Reply Quote 0
        • P Offline
          Phate
          last edited by

          I haven’t had another chance to have a play yet. Think I need a reinstall of the whole magic mirror system. Start fresh.

          It occurs to me tho that I should be able to adapt you module to lookup an address balance…

          I love the idea of being able to set notifications for the price… Haven’t been able to see how that works yet but I wonder if a config setting is possible where it takes the previous value and indicates the price changes compared to the new price… i.e. up or down

          Again awesome job… can’t believe how quick some of you guys write these modules… lol

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            schnep202 @Phate
            last edited by

            Ahoi @Phate

            had this problem a few weeks ago. dont remember how i fixed it :D
            You can try to copy the dependency by your own to …/MMM-Bitcoin/node_modules/request/.
            but i am not sure if this will work…

            a comparison between to prices should not be a big problem ;)

            P 1 Reply Last reply Reply Quote 1
            • P Offline
              Phate @schnep202
              last edited by

              @schnep202

              I was hoping you’d say this was the case… I’ll give it a try… Seen in another thread somewhere that someone had to do that to…

              See how I go…

              Cheers

              1 Reply Last reply Reply Quote 0
              • P Offline
                Phate
                last edited by

                Nope… Still no luck…

                I’ve seen the issue elsewhere so its not just me having issues with modules and dependencies…

                hmmmmmmm

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Phate
                  last edited by

                  Ok full fresh install…

                  Nothing… same dependencies issue… No matter how I try and install it or copy files over…

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    schnep202
                    last edited by

                    while working on the comparison, i found a problem with the request.
                    The problem is that the mirror only starts on request.

                    In my config i have 3 modules using request: MMM_Traffic, MMM-Bitcoin and the default newsfeed module. if i run only run one of them, they work nicely! if there is more than one, only the first module in the config gets the data. the other only try to load the content.

                    working with node.js is new for me, so i dont have any experience with it. i cant solve the problem by my one at this point. i hope anyone here has a solution.

                    BTW: Comparison works nicely^^

                    P 3 Replies Last reply Reply Quote 0
                    • P Offline
                      Phate @schnep202
                      last edited by

                      @schnep202

                      Wow your awesome…

                      How does the comparison work… Change of colour?

                      I can’t wait… Also can’t wait to see if I can adapt it to show address balances…

                      Something odd happening for sure… Fresh install and managed to install iCloud calendars dependencies etc no trouble…

                      Hopefully someone else has some hints lol

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Phate @schnep202
                        last edited by

                        @schnep202 said in Its may a problem with node_helper:

                        while working on the comparison, i found a problem with the request.
                        The problem is that the mirror only starts on request.

                        In my config i have 3 modules using request: MMM_Traffic, MMM-Bitcoin and the default newsfeed module. if i run only run one of them, they work nicely! if there is more than one, only the first module in the config gets the data. the other only try to load the content.

                        working with node.js is new for me, so i dont have any experience with it. i cant solve the problem by my one at this point. i hope anyone here has a solution.

                        BTW: Comparison works nicely^^

                        @KirAsh4

                        Any hints much appreciated :blush:

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Phate @schnep202
                          last edited by

                          @schnep202

                          I just tried deleting my newsfeed module but it still didn’t run…

                          Find the solution eventually lol

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            schnep202 @Phate
                            last edited by

                            @Phate

                            I still think that there is a problem with request and node_helper.

                            Here is a screenshot of v2.0 :D

                            alt text

                            P 3 Replies Last reply Reply Quote 1
                            • P Offline
                              Phate @schnep202
                              last edited by

                              @schnep202

                              Dude that is awesome…

                              God I wish I could work out how to install it… lol

                              Currently tidying up some others for when motion and temp sensors arrive…

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Phate @schnep202
                                last edited by Phate

                                @schnep202

                                Let me know if you push that to github and ill try updating and see if its magically fixed itself lol

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Phate @schnep202
                                  last edited by

                                  @schnep202

                                  Still version 1 in the github yeah?

                                  Cheers again mate this is awesome

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1
                                  • 2
                                  • 2 / 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